diff --git a/src/lib.rs b/src/lib.rs index 970dec47..df4f3665 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -73,7 +73,8 @@ pub mod traits { } #[cfg(test)] -pub mod tests { - pub mod mat; - pub mod vec; +mod tests { + mod mat; + mod vec; + // mod bench; } diff --git a/src/tests/mat.rs b/src/tests/mat.rs index c857fc85..4f8fb69d 100644 --- a/src/tests/mat.rs +++ b/src/tests/mat.rs @@ -1,24 +1,13 @@ -#[test] use std::num::{Real, One, abs}; -#[test] use std::rand::random; -#[test] use std::cmp::ApproxEq; -#[test] use traits::inv::Inv; -#[test] use traits::rotation::Rotation; -#[test] use traits::indexable::Indexable; -#[test] use traits::transpose::Transpose; -#[test] use traits::norm::Norm; -#[test] use vec::{Vec1, Vec3}; -#[test] use mat::{Mat1, Mat2, Mat3, Mat4, Mat5, Mat6}; -#[test] use adaptors::rotmat::Rotmat; macro_rules! test_inv_mat_impl( diff --git a/src/tests/vec.rs b/src/tests/vec.rs index ea9fa4d9..003efb0f 100644 --- a/src/tests/vec.rs +++ b/src/tests/vec.rs @@ -1,26 +1,14 @@ -#[test] use std::num::{Zero, One}; -#[test] use std::rand::{random}; -#[test] use std::cmp::ApproxEq; -#[test] use vec::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6}; -#[test] use mat::Mat3; -#[test] use traits::basis::Basis; -#[test] use traits::cross::Cross; -#[test] use traits::dot::Dot; -#[test] use traits::norm::Norm; -#[test] use traits::iterable::{Iterable, IterableMut}; -#[test] use traits::scalar_op::{ScalarAdd, ScalarSub}; -#[test] use traits::outer::Outer; macro_rules! test_iterator_impl(