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