Remove some useless #[test] tags.

This commit is contained in:
Sébastien Crozet 2013-09-13 10:34:49 +02:00
parent 6f81fc6d5c
commit 1cf3506e06
3 changed files with 4 additions and 26 deletions

View File

@ -73,7 +73,8 @@ pub mod traits {
} }
#[cfg(test)] #[cfg(test)]
pub mod tests { mod tests {
pub mod mat; mod mat;
pub mod vec; mod vec;
// mod bench;
} }

View File

@ -1,24 +1,13 @@
#[test]
use std::num::{Real, One, abs}; use std::num::{Real, One, abs};
#[test]
use std::rand::random; use std::rand::random;
#[test]
use std::cmp::ApproxEq; use std::cmp::ApproxEq;
#[test]
use traits::inv::Inv; use traits::inv::Inv;
#[test]
use traits::rotation::Rotation; use traits::rotation::Rotation;
#[test]
use traits::indexable::Indexable; use traits::indexable::Indexable;
#[test]
use traits::transpose::Transpose; use traits::transpose::Transpose;
#[test]
use traits::norm::Norm; use traits::norm::Norm;
#[test]
use vec::{Vec1, Vec3}; use vec::{Vec1, Vec3};
#[test]
use mat::{Mat1, Mat2, Mat3, Mat4, Mat5, Mat6}; use mat::{Mat1, Mat2, Mat3, Mat4, Mat5, Mat6};
#[test]
use adaptors::rotmat::Rotmat; use adaptors::rotmat::Rotmat;
macro_rules! test_inv_mat_impl( macro_rules! test_inv_mat_impl(

View File

@ -1,26 +1,14 @@
#[test]
use std::num::{Zero, One}; use std::num::{Zero, One};
#[test]
use std::rand::{random}; use std::rand::{random};
#[test]
use std::cmp::ApproxEq; use std::cmp::ApproxEq;
#[test]
use vec::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6}; use vec::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6};
#[test]
use mat::Mat3; use mat::Mat3;
#[test]
use traits::basis::Basis; use traits::basis::Basis;
#[test]
use traits::cross::Cross; use traits::cross::Cross;
#[test]
use traits::dot::Dot; use traits::dot::Dot;
#[test]
use traits::norm::Norm; use traits::norm::Norm;
#[test]
use traits::iterable::{Iterable, IterableMut}; use traits::iterable::{Iterable, IterableMut};
#[test]
use traits::scalar_op::{ScalarAdd, ScalarSub}; use traits::scalar_op::{ScalarAdd, ScalarSub};
#[test]
use traits::outer::Outer; use traits::outer::Outer;
macro_rules! test_iterator_impl( macro_rules! test_iterator_impl(