Beispiel #1
0
 def test_sum_of_squares_5(self):
     self.assertEqual(sum_of_squares(5), 55)
Beispiel #2
0
 def test_sum_of_squares_100(self):
     self.assertEqual(sum_of_squares(100), 338350)
 def test_sum_of_squares_100(self):
     self.assertEqual(338350, sum_of_squares(100))
Beispiel #4
0
 def test_sum_of_squares_1(self):
     self.assertEqual(sum_of_squares(1), 1)
Beispiel #5
0
 def test_sum_of_squares_5(self):
     self.assertEqual(55, sum_of_squares(5))
 def test_sum_of_squares_5(self):
     self.assertEqual(55, sum_of_squares(5))
Beispiel #7
0
 def test_sum_of_squares_100(self):
     assert sum_of_squares(100) == 338350
Beispiel #8
0
 def test_sum_of_squares_5(self):
     assert sum_of_squares(5) == 55
Beispiel #9
0
 def test_sum_of_squares_1(self):
     assert sum_of_squares(1) == 1
 def test_sum_of_squares_5(self):
     self.assertEqual(sum_of_squares(5), 55)
 def test_sum_of_squares_1(self):
     self.assertEqual(sum_of_squares(1), 1)