Crate matrixcompare_mock

Source
Expand description

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

Macros§

mock_matrix
Macro that helps with the construction of small dense (mock) matrices for testing.

Structs§

MockDenseMatrix
MockSparseMatrix

Functions§

dense_matrix_strategy
dense_matrix_strategy_i64
dense_matrix_strategy_normal_f64
A strategy for “normal” f64 numbers (excluding infinities, NaN).
i64_range
sparse_matrix_strategy
sparse_matrix_strategy_i64
sparse_matrix_strategy_normal_f64