forked from M-Labs/nalgebra
5ca3e41375
Just as the standard library's PartialEq is implemented for reference types, the ApproxEq trait should be implemented on them as well. This is mostly an ergonomic improvement for certain testing situations, where a method yields a reference. For non-copy types it allows using the assert_approx_… macros, which would otherwise not be possible. |
||
---|---|---|
.. | ||
arbitrary.rs | ||
assert.rs | ||
mat.rs | ||
quat.rs | ||
vec.rs |