def test_turn_right(self): virus = Virus(None, (0, 0)) for _ in range(4): virus._move_forward() virus._turn_right() assert virus._position == (0, 0)
def test_move_forward(self): virus = Virus(None, (0, 0)) virus._move_forward() assert virus._position == (0, -1)