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

Complete transition away from auto-tests #100

Merged
merged 21 commits into from
Oct 5, 2024
Merged

Complete transition away from auto-tests #100

merged 21 commits into from
Oct 5, 2024

Conversation

mikeingold
Copy link
Owner

@mikeingold mikeingold commented Oct 5, 2024

Changes

Future Work/Considerations

This PR will get combinations.jl up to around 800 lines. Should this file be partitioned into multiple files? One per geometry type? Separate file for geometries covered by specializations?

These new tests replicate the old methodology of using a unit integrand with Meshes.measure as a reference solution. More interesting integrand functions and test geometries would be nice in the longer term.

Copy link

codecov bot commented Oct 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bd71834) to head (2fb6d2b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #100   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines          258       258           
=========================================
  Hits           258       258           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

mikeingold and others added 3 commits October 4, 2024 22:09
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mikeingold mikeingold changed the title Implement new Tetrahedron tests Implement more new tests Oct 5, 2024
mikeingold and others added 2 commits October 4, 2024 23:05
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mikeingold mikeingold marked this pull request as ready for review October 5, 2024 03:41
@mikeingold mikeingold removed the request for review from JoshuaLampert October 5, 2024 14:09
@mikeingold mikeingold marked this pull request as draft October 5, 2024 14:10
@mikeingold
Copy link
Owner Author

I'm temporarily re-marking this as draft. I'm just going to go ahead and finish converting the remaining auto-tests.jl content into combinations.jl tests with this PR.

test/auto_tests.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
test/combinations.jl Outdated Show resolved Hide resolved
@JoshuaLampert
Copy link
Collaborator

This looks pretty good. In my opinion, we can keep one file for now. The file auto_tests.jl can be deleted now, can't it? Testing more interesting integrand functions would definitely be good.

Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com>
@mikeingold mikeingold marked this pull request as ready for review October 5, 2024 19:02
@mikeingold
Copy link
Owner Author

This looks pretty good. In my opinion, we can keep one file for now.

Thanks! Part of me prefers the reduced code redundancy of the auto-test system, but this longer form is also much less complex to debug, and will allow for individualized rule settings and non-unit integrands for everything with time. For now, I didn’t want the lack of analytic solutions to keep holding up the transition.

The file auto_tests.jl can be deleted now, can't it?

Yes. I was planning to delete it once we’re comfortable that all CI is passing and that those tests are officially dead.

@mikeingold mikeingold changed the title Implement more new tests Complete transition away from auto-tests Oct 5, 2024
@JoshuaLampert
Copy link
Collaborator

Yes. I was planning to delete it once we’re comfortable that all CI is passing and that those tests are officially dead.

Tests look good.

@mikeingold
Copy link
Owner Author

I'm away from my PC right now so can't git rm until I get back. Otherwise I think this one is good to go.

@JoshuaLampert
Copy link
Collaborator

I removed the file in 2fb6d2b.

@mikeingold mikeingold merged commit 7111f32 into main Oct 5, 2024
15 checks passed
@mikeingold mikeingold deleted the tetra branch October 5, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants