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: get rid of ring_to_mat #1902

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

test: get rid of ring_to_mat #1902

wants to merge 1 commit into from

Conversation

fingolfin
Copy link
Member

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.

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.
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.37%. Comparing base (1e48bb0) to head (5d20d83).
Report is 22 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1902      +/-   ##
==========================================
+ Coverage   87.25%   88.37%   +1.11%     
==========================================
  Files          97       97              
  Lines       35651    42376    +6725     
==========================================
+ Hits        31109    37451    +6342     
- Misses       4542     4925     +383     

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

@lgoettgens
Copy link
Collaborator

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 @test t isa M twice in each of the for-loops.

@fingolfin
Copy link
Member Author

Sure, but I think this should be handled by adding such a test to the ring conformance tests in AA.

@fingolfin fingolfin closed this Oct 30, 2024
@fingolfin fingolfin reopened this Oct 30, 2024
@fingolfin
Copy link
Member Author

To move forward for this, my solution would be to integrate a similar test into the conformance test suite. Specifically into test_MatSpace_interface.

To handle conversion to different rings, we could use something similar to the adhoc_partner_rings to provide a list of "partner" rings against which to perform the similar tests. Note that M should be redundant and just the same as dense_matrix_type(R).

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.

2 participants