test: get rid of ring_to_mat - #1902
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1902 +/- ##
==========================================
- Coverage 88.14% 88.10% -0.05%
==========================================
Files 100 100
Lines 36852 36852
==========================================
- Hits 32482 32467 -15
- Misses 4370 4385 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I agree that currently these tests are more or less useless. But these would make it very easy to test #1826 (once that is fixed) by just adding |
|
Sure, but I think this should be handled by adding such a test to the ring conformance tests in AA. |
|
To move forward for this, my solution would be to integrate a similar test into the conformance test suite. Specifically into To handle conversion to different rings, we could use something similar to the |
5d20d83 to
29e89f1
Compare
|
I believe this could be merged now... |
What about first adding that there and then removing it here afterwards? Otherwise, we just reduce code coverage for little benefit |
That was already done last November, see Nemocas/AbstractAlgebra.jl#1890 |
|
Oh no, wait, those are not for conversion to other rings. sigh |
The 'similar' methods being tested are generic and defined & tested in AA. Getting rid of this makes it somewhat less annoying to run the affect test files interactively.
|
Alas, I am not sure how to generically implement this then. It seems we'd need a global list of "example ring objects" for this ? |
It seems so. And this list ist what this PR is removing 😅 |
The 'similar' methods being tested are generic and defined &
tested in AA.
Getting rid of this makes it somewhat less annoying to run the
affect test files interactively.