def test_choose_direction(self): c = Car(1) self.assertEqual(c.choose_direction(30), 0)
def test_choose_direction_fifty(self): c = Car(1) self.assertEqual(c.choose_direction(50), 0)
def test_choose_direction_fifty_one(self): c = Car(1) self.assertEqual(c.choose_direction(51), 1)