コード例 #1
0
 def test_gass_sum_float(self):
     print("test_gass_sum_float")
     self.assertEqual(gass_sum(10.1), "Error,type not supported")
コード例 #2
0
 def test_gass_sum_negative(self):
     self.assertEqual(gass_sum(-100), -5050)
コード例 #3
0
 def test_gass_sum_string(self):
     print("test_gass_sum_string")
     self.assertEqual(gass_sum("a"), "Error,type not supported")
コード例 #4
0
 def test_gass_sum(self):
     print("test_gass_sum")
     self.assertEqual(gass_sum(100), 5050, "Not equal")