Пример #1
0
    def test_numbers_100_7(self):

        self.assertEqual(add(100,7), 107)

        self.assertEqual(add(10,7), 17)
Пример #2
0
 def test_numbers_5_7(self):
     self.assertEqual(add(5,7), 11)
Пример #3
0
 def test_string_a_b(self):
     self.assertEqual(add("a", 3), "a3")
 def test_numbers_100_7(self):
     self.assertEqual(add(27,20),47)
 def test_numbers_3_4(self):
     self.assertEqual(add(3,4), 7)
Пример #6
0
 def test_numbers_5_7(self):
     self.assertEqual(add(5, 7), 11)