Exemple #1
0
 def test_set_and_get_speed(self):
     print("car set/get speed integration test. ")
     test = Car("red")
     if Test_fordPinto.test_set_speed(self):
         if Test_fordPinto.test_get_speed(self):
             if self.assertEqual(test.get_speed(), 110):
                 return
Exemple #2
0
 def test_get_speed(self):
     print("car get_speed test. ")
     test = Car("red")
     if self.assertIsNotNone(test.get_speed()):
         return