Пример #1
0
 def test_square(self):
     self.assertEqual(0, square(0))
     self.assertEqual(49, square(7))
Пример #2
0
 def test_square(self):
     self.assertEqual(0, square(0))
     self.assertEqual(49, square(7))
Пример #3
0
 def test_negatives(self):
     self.assertEqual(49, square(-7))
Пример #4
0
 def test_negatives(self):
     self.assertEqual(49, square(-7))