Fix benchmarks

This commit is contained in:
Eduard Bopp 2015-02-17 14:10:08 +01:00
parent b2a4918376
commit 97079bb2b3
5 changed files with 13 additions and 7 deletions

View File

@ -1,7 +1,8 @@
extern crate test;
extern crate rand;
extern crate "nalgebra" as na;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use na::{UnitQuat, Rot2, Rot3, Vec1, Vec3};

View File

@ -1,3 +1,5 @@
#![feature(test)]
extern crate test;
extern crate "nalgebra" as na;

View File

@ -1,9 +1,10 @@
#![feature(macro_rules)]
#![feature(test)]
extern crate test;
extern crate rand;
extern crate "nalgebra" as na;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use na::{Vec2, Vec3, Vec4, Mat2, Mat3, Mat4};
use std::ops::{Add, Sub, Mul, Div};

View File

@ -1,9 +1,10 @@
#![feature(macro_rules)]
#![feature(test)]
extern crate test;
extern crate rand;
extern crate "nalgebra" as na;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use na::{Quat, UnitQuat, Vec3};
use std::ops::{Add, Sub, Mul, Div};

View File

@ -1,9 +1,10 @@
#![feature(macro_rules)]
#![feature(test)]
extern crate test;
extern crate rand;
extern crate "nalgebra" as na;
use std::rand::{IsaacRng, Rng};
use rand::{IsaacRng, Rng};
use test::Bencher;
use na::{Vec2, Vec3, Vec4};
use std::ops::{Add, Sub, Mul, Div};