Beispiel #1
0
 def test_exit_city_karamu(self):
     c = Car(1)
     self.assertEqual(c.exit_city("Karamu Rd"),
                      "Driver 1 has gone to Napier")
Beispiel #2
0
 def test_exit_city_omahu(self):
     c = Car(1)
     self.assertEqual(c.exit_city("Omahu Rd"),
                      "Driver 1 has gone to Flaxmere")
Beispiel #3
0
 def test_exit_city(self):
     c = Car(1)
     self.assertEqual(c.exit_city(None), None)