def test_str1_20(self): print("running test_str1_20 test") act = sum_fun("str1", 20) exp = None self.assertEqual(act, exp, "test_str1_20 failed") print("done test_str1_20 test")
def test_10_str2(self): print("running test_10_str2 test") act = sum_fun(10, "str2") exp = None self.assertEqual(act, exp, "test_10_str2 failed") print("done test_10_str2 test")
def test_n10_9(self): print("running test_n10_9 test") act = sum_fun(-10, 9) exp = -1 self.assertEqual(act, exp, "test_n10_9 failed") print("done test_n10_9 test")
def test_str1_str2(self): print("running test_str1_str2 test") act = sum_fun("str1", "str2") exp = "str1str2" self.assertEqual(act, exp, "test_str1_str2 failed") print("done test_str1_str2 test")
def test_10_20(self): print("running test_10_20 test") act = sum_fun(10, 20) exp = 30 self.assertEqual(act, exp, "test_10_20 failed") print("done test_10_20 test")