from rectangle2 import rectangle_area

def test_unit_square():
    assert rectangle_area([0, 0, 1, 1]) == 1.0

def test_large_square():
    assert rectangle_area([1, 1, 4, 4]) == 9.0

def test_actual_rectangle():
    assert rectangle_area([0, 1, 4, 7]) == 24.0

[((74, 102), 'rectangle2.rectangle_area', 'rectangle_area', (['[0, 0, 1, 1]'], {}), '([0, 0, 1, 1])\n', (88, 102), False, 'from rectangle2 import rectangle_area\n'), ((147, 175), 'rectangle2.rectangle_area', 'rectangle_area', (['[1, 1, 4, 4]'], {}), '([1, 1, 4, 4])\n', (161, 175), False, 'from rectangle2 import rectangle_area\n'), ((224, 252), 'rectangle2.rectangle_area', 'rectangle_area', (['[0, 1, 4, 7]'], {}), '([0, 1, 4, 7])\n', (238, 252), False, 'from rectangle2 import rectangle_area\n')]