def METHOD_NAME(self):
    """Test :func:`colour.quality.tm3018.averages_area` definition."""
    # Simple 3 * sqrt(2) by sqrt(2) rectangle.
    rectangle = as_float_array([[2, 1], [1, 2], [-2, -1], [-1, -2]])
    np.allclose(averages_area(rectangle), 6)
    # Concave polygon.
    poly = np.array([[1.0, -1], [1, 1], [3, 1], [3, 3], [-1, 3], [-1, -1]])
    np.allclose(averages_area(poly), 12)