Exemple #1
0
 def test_strings_b_2(self):
     print "test_case          test_strings_b_2"
     assert multiply("b", 2) == "bb"
Exemple #2
0
 def test_numbers_5_6(self):
     print "test_case          test_numbers_5_6"
     assert multiply(5, 6) == 30
Exemple #3
0
def test_strings_a_3():
    print "test_case          test_strings_a_3"
    assert multiply("a", 3) == "aaa"
Exemple #4
0
def test_numbers_3_4():
    print "test_case          test_numbers_3_4"
    assert multiply(3, 4) == 12
Exemple #5
0
 def test_strings_b_2(self):
     print("test_case          %s" % self.id())
     self.assertEqual(multiply("b", 2), "bb")
Exemple #6
0
 def test_numbers_5_6(self):
     print("test_case          %s" % self.id())
     self.assertEqual(multiply(5, 6), 30)