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