Removed benchmarks
This commit is contained in:
parent
2a98e09ab7
commit
fbbb59a1c1
1 changed files with 3 additions and 4 deletions
|
@ -1,13 +1,12 @@
|
||||||
//! A library implemting the logic for Conway's Game of Life
|
//! A library implemting the logic for Conway's Game of Life
|
||||||
//! It can be embedded into applications, and can read the Plaintext and Life 1.05 file formats.
|
//! It can be embedded into applications, and can read the Plaintext and Life 1.05 file formats.
|
||||||
#![feature(test)]
|
//extern crate test;
|
||||||
extern crate test;
|
|
||||||
|
|
||||||
pub mod game;
|
pub mod game;
|
||||||
pub mod reader;
|
pub mod reader;
|
||||||
pub mod writer;
|
pub mod writer;
|
||||||
|
|
||||||
#[cfg(test)]
|
/*#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
@ -16,4 +15,4 @@ mod tests {
|
||||||
let mut game = reader::read_game_at_path("tests/cells/spacefiller.cells").unwrap();
|
let mut game = reader::read_game_at_path("tests/cells/spacefiller.cells").unwrap();
|
||||||
b.iter(|| game.advance_board());
|
b.iter(|| game.advance_board());
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
Loading…
Reference in a new issue