f9ea2b4471
This introduces functionality for creating strategies for matrices and vectors, as well as an implementation of Arbitrary. Strategies for the geometric types (Point3, Quaternion etc.) are not currently part of this contribution. The current strategy implementation for matrices has some limitations that lead to suboptimal shrinking behavior. This is documented in the module-level docs, with some additional comments in the code.
28 lines
639 B
Rust
28 lines
639 B
Rust
#[cfg(any(not(feature = "debug"), not(feature = "compare")))]
|
|
compile_error!(
|
|
"Please enable the `debug` and `compare` features in order to compile and run the tests.
|
|
Example: `cargo test --features debug --features compare`"
|
|
);
|
|
|
|
#[cfg(feature = "abomonation-serialize")]
|
|
extern crate abomonation;
|
|
#[macro_use]
|
|
extern crate approx;
|
|
#[cfg(feature = "mint")]
|
|
extern crate mint;
|
|
extern crate nalgebra as na;
|
|
extern crate num_traits as num;
|
|
#[cfg(feature = "arbitrary")]
|
|
#[macro_use]
|
|
extern crate quickcheck;
|
|
|
|
mod core;
|
|
mod geometry;
|
|
mod linalg;
|
|
|
|
#[cfg(feature = "proptest")]
|
|
mod proptest;
|
|
|
|
//#[cfg(feature = "sparse")]
|
|
//mod sparse;
|