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)]
pub mod tests {
pub mod mat;
pub mod vec;
mod tests {
mod mat;
mod vec;
// mod bench;
}

View File

@ -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(

View File

@ -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(