def test_move_forward_upp(): cart = Cart(3, 3, "^") cart.move_forward() assert_equal(cart.get_coordinates(), (3, 2), "Expected cart to have moved")
def test_move_forward_right(): cart = Cart(3, 3, ">") cart.move_forward() assert_equal(cart.get_coordinates(), (4, 3), "Expected cart to have moved")