Exemple #1
0
 def test_func_arythmetics(self):
     self.assertEqual(lab.func(20), 1205)
     self.assertEqual(lab.func(22), 1457)
     self.assertEqual(lab.func(42), 5297)
Exemple #2
0
 def test_replace_4(self):
     str_a = "1236655134"
     self.assertEquals(lab.replace(str_a), str(lab.func(int(str_a))))
Exemple #3
0
 def test_replace_5(self):
     str_a = "00088888"
     self.assertEquals(lab.replace(str_a), str(lab.func(int(str_a))))
Exemple #4
0
 def test_replace_3(self):
     str_a = "443"
     self.assertEquals(lab.replace(str_a), str(lab.func(int(str_a))))