Пример #1
0
 def test_equal_2(self):
     self.assertEqual(square_it(222), 'Not a perfect square!')
Пример #2
0
 def test_equal_1(self):
     self.assertEqual(square_it(1), '1')
Пример #3
0
 def test_equal_4(self):
     self.assertEqual(square_it(88989), 'Not a perfect square!')
Пример #4
0
 def test_equal_5(self):
     self.assertEqual(square_it(112141568), '112\n141\n568')
Пример #5
0
 def test_equal_3(self):
     self.assertEqual(square_it(234562342342), 'Not a perfect square!')