Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment Out unit tests until your next work day #321

Open
Jammy2211 opened this issue Nov 11, 2024 · 0 comments
Open

Comment Out unit tests until your next work day #321

Jammy2211 opened this issue Nov 11, 2024 · 0 comments
Assignees

Comments

@Jammy2211
Copy link
Owner

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],
                ]
            ]
        ),
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants