Move PositiveNumbers tests to new suite - #901
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #901 +/- ##
===========================================
- Coverage 100.00% 99.95% -0.05%
===========================================
Files 98 98
Lines 9792 9792
===========================================
- Hits 9792 9788 -4
- Misses 0 4 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thats a nice start. Thanks! Several of the functions in the first block are also available in the new test suite and do no longer have to be tested separately. Your last name sounds German, I am originally from Dräger-Town (or Marzipanien or just good old Lübeck)! |
|
Thank you! Yes, this was AI-assisted, and I reviewed the resulting diff and ran the targeted PositiveNumbers test locally. I agree the validation wording was awkward and will change it accordingly. I’ll also trim the first block to keep only the constructor/extra behavior checks that are not already covered by |
|
Thanks for the transparency. Let me know when you have rechecked it, I can help looking through the rest as well. But for example The reason to really only check edge cases outside that function is, that in a next step, “filtering” tests gets easier – one idea is to have a short integration test for example. Also for the functions, we are using runic for code formatting, so feel free to group functions reasonably together on lines. Thanks for working on this, I know it is a bit dull (and hence maybe even suited for a bit of AI), but a good thing to slowly revise for a bit faster and flexible CI. |
Summary
test/manifolds-oldtotest/manifolds.Manifolds.test_manifoldcalls withManifolds.Test.test_manifoldcoverage forPositiveNumbers()andPositiveVectors(2).Part of #870.
Validation
julia --project=test test/manifolds/test_positive_numbers.jlMANIFOLDS_TEST_SET=manifolds julia --project=test test/runtests.jlwas attempted twice and timed out after 20 minutes in unrelated oldsymplectictests; the run reached and passedmanifolds/test_positive_numbers.jlbefore timing out.