MatrixObj: Add type-parametrized tests #4512
Labels
kind: enhancement
Label for issues suggesting enhancements; and for pull requests implementing enhancements
release notes: not needed
PRs introducing changes that are wholly irrelevant to the release notes
topic: tests
issues or PRs related to tests
Add test functions which take as argument something like
IsGF2MatrixRep
(to indicate a specific MatrixObj implementation) plus some other arguments (e.g. a base domain) and then run a bunch of tests to verify that certain APIs are implemented right. E.g. a ZeroMatrix test could ensure that matrices of the right dimension, domain and type are produced.The file
tst/teststandard/arithlst.g
might give an idea how such generic tests can look.Then we can:
documentation, the tests or several of the above)
generic ones.
The text was updated successfully, but these errors were encountered: