import arcade


def test_point_in_rectangle():
    polygon = [
        (0, 0),
        (0, 50),
        (50, 50),
        (50, 0),
    ]
    result = arcade.is_point_in_polygon(25, 25, polygon)
    assert result is True


def test_point_not_in_empty_polygon():
    polygon = []
    result = arcade.is_point_in_polygon(25, 25, polygon)
    assert result is False

import arcade


def test_point_in_rectangle():
    polygon = [
        (0, 0),
        (0, 50),
        (50, 50),
        (50, 0),
    ]
    result = arcade.is_point_in_polygon(25, 25, polygon)
    assert result is True


def test_point_not_in_empty_polygon():
    polygon = []
    result = arcade.is_point_in_polygon(25, 25, polygon)
    assert result is False
