diff --git a/src/tests/mat.rs b/src/tests/mat.rs index a23e7f1a..d1dc19c4 100644 --- a/src/tests/mat.rs +++ b/src/tests/mat.rs @@ -24,7 +24,7 @@ use dim3::mat3::Mat3; use adaptors::rotmat::Rotmat; macro_rules! test_inv_mat_impl( - ($t:ty) => ( + ($t: ty) => ( for 10000.times { let randmat : $t = random(); diff --git a/src/tests/vec.rs b/src/tests/vec.rs index 84be3e6a..89941413 100644 --- a/src/tests/vec.rs +++ b/src/tests/vec.rs @@ -26,7 +26,7 @@ use traits::dot::Dot; use traits::norm::Norm; macro_rules! test_commut_dot_impl( - ($t:ty) => ( + ($t: ty) => ( for 10000.times { let v1 : $t = random(); @@ -38,7 +38,7 @@ macro_rules! test_commut_dot_impl( ) macro_rules! test_basis_impl( - ($t:ty) => ( + ($t: ty) => ( for 10000.times { let basis = Basis::canonical_basis::<$t>(); @@ -55,7 +55,7 @@ macro_rules! test_basis_impl( ) macro_rules! test_subspace_basis_impl( - ($t:ty) => ( + ($t: ty) => ( for 10000.times { let v : Vec3 = random();