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

[((4, 11, 4, 39), 'rectangle2.rectangle_area', 'rectangle_area', ({(4, 26, 4, 38): '[0, 0, 1, 1]'}, {}), '([0, 0, 1, 1])', False, 'from rectangle2 import rectangle_area\n'), ((7, 11, 7, 39), 'rectangle2.rectangle_area', 'rectangle_area', ({(7, 26, 7, 38): '[1, 1, 4, 4]'}, {}), '([1, 1, 4, 4])', False, 'from rectangle2 import rectangle_area\n'), ((10, 11, 10, 39), 'rectangle2.rectangle_area', 'rectangle_area', ({(10, 26, 10, 38): '[0, 1, 4, 7]'}, {}), '([0, 1, 4, 7])', False, 'from rectangle2 import rectangle_area\n')]