Skip to content

Add tests for 2N methods#71

Open
chrisba23 wants to merge 1 commit into
ketch:add_2Nfrom
chrisba23:tests_2N
Open

Add tests for 2N methods#71
chrisba23 wants to merge 1 commit into
ketch:add_2Nfrom
chrisba23:tests_2N

Conversation

@chrisba23

Copy link
Copy Markdown

Adds basic 2N tests for several stage/order combinations and checks the order conditions.

@ranocha ranocha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I did not run the tests from this PR myself, but they look reasonable to me. Shall we merge them into your PR #70, @ketch?

@ketch

ketch commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Thanks! However, the purpose of this code is not clear to me. The basic package already automatically checks the order of accuracy after it finds a method.

@ketch

ketch commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Oh, sorry -- I see now that this adds these checks to the automated test suite.

Running these manually, I see that most of them run fairly fast and seem to always pass. But these do involve randomness, and the (8,4) search in particular often fails. I'm not sure how I feel about having tests that sometimes fail under the current code.

@ranocha

ranocha commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Good point. Failing checks involving randomness is problematic.

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

Successfully merging this pull request may close these issues.

3 participants