#mocking #matrix #structures #testing #sparse #matrixcompare

matrixcompare-mock

Internal mock data structures for testing of matrixcompare

1 unstable release

0.1.0 Jun 29, 2020

#90 in #sparse

Download history 47/week @ 2024-04-01 15/week @ 2024-04-08 10/week @ 2024-04-15 13/week @ 2024-04-22 10/week @ 2024-04-29 14/week @ 2024-05-06 15/week @ 2024-05-13 15/week @ 2024-05-20 25/week @ 2024-05-27 28/week @ 2024-06-03 29/week @ 2024-06-10 34/week @ 2024-06-17 24/week @ 2024-06-24 8/week @ 2024-07-01 28/week @ 2024-07-08 30/week @ 2024-07-15

93 downloads per month
Used in matrixcompare

MIT license

11KB
233 lines

matrixcompare

"CI badge"

matrixcompare is a utility library for comparing matrices (dense or sparse) for testing/debugging purposes. To that effect, it provides functions and assertions for comparing matrices with exact or approximate equality. The metric used for approximate equality is configurable and packaged into a convenient API. matrixcompare does not provide any matrices of its own, but is instead intended to be integrated into libraries that provide these kind of data structures.

Please see the documentation for more information, or the changelog for a list of changes in recent releases.

Contributing

Contributions are welcome! For any larger contribution, it is however advisable to write up your ideas in an issue before you commence work. This is particularly true for contributions which would significantly increase the scope of the project.

License

matrixcompare is licensed under the MIT license. See the LICENSE file in the repository for the exact license.


lib.rs:

Utility data structures and functionality for testing the matrixcompare crate. Not intended for usage outside of matrixcompare tests.

Dependencies

~2MB
~41K SLoC