nalgebra/tests/lib.rs

36 lines
1.1 KiB
Rust
Raw Normal View History

2021-05-03 19:50:48 +08:00
#[cfg(not(all(
feature = "debug",
feature = "compare",
feature = "rand",
feature = "macros"
)))]
compile_error!(
"Please enable the `debug`, `compare`, `rand` and `macros` features in order to compile and run the tests.
Example: `cargo test --features debug,compare,rand,macros`"
);
#[cfg(feature = "abomonation-serialize")]
2017-08-16 01:36:38 +08:00
extern crate abomonation;
#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
2018-02-02 19:26:35 +08:00
#[macro_use]
extern crate approx;
extern crate nalgebra as na;
2018-02-02 19:26:35 +08:00
extern crate num_traits as num;
#[cfg(feature = "rand")]
2021-03-02 19:37:00 +08:00
extern crate rand_package as rand;
#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
mod core;
#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
2018-02-03 17:44:32 +08:00
mod geometry;
#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
2018-10-21 04:26:44 +08:00
mod linalg;
#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
#[cfg(feature = "proptest-support")]
mod proptest;
//#[cfg(all(feature = "debug", feature = "compare", feature = "rand"))]
//#[cfg(feature = "sparse")]
//mod sparse;