nalgebra/tests/lib.rs

28 lines
639 B
Rust
Raw Normal View History

#[cfg(any(not(feature = "debug"), not(feature = "compare")))]
compile_error!(
2020-11-16 21:13:17 +08:00
"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")]
2017-08-16 01:36:38 +08:00
extern crate abomonation;
2018-02-02 19:26:35 +08:00
#[macro_use]
extern crate approx;
2017-07-25 23:19:18 +08:00
#[cfg(feature = "mint")]
extern crate mint;
extern crate nalgebra as na;
2018-02-02 19:26:35 +08:00
extern crate num_traits as num;
#[cfg(feature = "arbitrary")]
#[macro_use]
extern crate quickcheck;
mod core;
2018-02-03 17:44:32 +08:00
mod geometry;
2018-10-21 04:26:44 +08:00
mod linalg;
#[cfg(feature = "proptest")]
mod proptest;
//#[cfg(feature = "sparse")]
//mod sparse;