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

Test filled compare slow #108

Merged
merged 2 commits into from Feb 12, 2022

Conversation

ianthomas23
Copy link
Member

Added test_filled_compare_slow which is a 1000 times repeated slow test, to run through lots of random corner_mask=True data sets and compare the outputs (number of lines, outers and points) for mpl2014 and serial. This test is not run by default as takes ~30 minutes on my 6-core dev laptop (using pytest-xdist).

Also changed asserts that line/outer/hole counts are the same after each pass into exceptions, as they usually indicate a bug in the serial code that need to be identified without running in debug mode.

@ianthomas23 ianthomas23 merged commit d98392a into contourpy:main Feb 12, 2022
@ianthomas23 ianthomas23 deleted the test_filled_compare_slow branch June 12, 2022 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant