#mocking #matrix #structures #data #testing #matrixcompare

matrixcompare-mock

Internal mock data structures for testing of matrixcompare

1 unstable release

0.1.0 Jun 29, 2020

#191 in #mocking

Download history 18/week @ 2024-07-22 50/week @ 2024-07-29 31/week @ 2024-08-05 23/week @ 2024-08-12 23/week @ 2024-08-19 30/week @ 2024-08-26 23/week @ 2024-09-02 23/week @ 2024-09-09 25/week @ 2024-09-16 44/week @ 2024-09-23 28/week @ 2024-09-30 31/week @ 2024-10-07 37/week @ 2024-10-14 29/week @ 2024-10-21 23/week @ 2024-10-28 24/week @ 2024-11-04

117 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

~3.5MB
~67K SLoC