matrixcompare

Macro prop_assert_matrix_eq

Source
macro_rules! prop_assert_matrix_eq {
    ($($args:tt)*) => { ... };
}
Expand description

A version of assert_matrix_eq suitable for use in proptest property-based tests.

Works exactly as assert_matrix_eq, except that instead of causing a panic, it returns an error compatible with property-based tests from the proptest crate.

Requires the proptest-support feature to be enabled.