Exemplo n.º 1
0
 def test_getDirection_should_go_up(self):
     lift = LiftLogic()
     self.assertEqual(1, lift.getDirection(1, 5, []))
Exemplo n.º 2
0
 def test_getDirection_shoud_stay(self):
     lift = LiftLogic()
     self.assertEqual(0, lift.getDirection(1, 1, []))