diff --git a/src/bench/mat.rs b/src/bench/mat.rs index 7f0ff5fb..ec782c99 100644 --- a/src/bench/mat.rs +++ b/src/bench/mat.rs @@ -1,5 +1,5 @@ use std::rand::random; -use extra::test::BenchHarness; +use test::BenchHarness; use na::{Vec2, Vec3, Vec4, Vec5, Vec6, DVec, Mat2, Mat3, Mat4, Mat5, Mat6, DMat}; macro_rules! bench_mul_mat( diff --git a/src/bench/vec.rs b/src/bench/vec.rs index d08081ca..c4833fda 100644 --- a/src/bench/vec.rs +++ b/src/bench/vec.rs @@ -1,5 +1,5 @@ use std::rand::random; -use extra::test::BenchHarness; +use test::BenchHarness; use na::{Vec2, Vec3, Vec4, Vec5, Vec6}; use na; diff --git a/src/lib.rs b/src/lib.rs index 4a102114..854ab5b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -113,6 +113,9 @@ extern crate std; extern crate extra; extern crate serialize; +#[cfg(test)] +extern crate test; + pub mod na; mod structs; mod traits;