-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
These were failing after I merged PR's, and need unmerging once you're back:
def test_for_limits_and_scale():
triangles = CoordinateArrayTriangles.for_limits_and_scale(
x_min=-1.0,
x_max=1.0,
y_min=-1.0,
y_max=1.0,
)
assert triangles.triangles.shape == (4, 3, 2)
def test_full_routine(one_triangle, compare_with_nans):
result = full_routine(one_triangle)
assert compare_with_nans(
result.triangles,
np.array(
[
[
[0.0, 0.4330126941204071],
[0.25, 0.0],
[-0.25, 0.0],
]
]
),
)
Metadata
Metadata
Assignees
Labels
No labels