Fix heatmap issue and implement per round analysis
This commit is contained in:
14
analysis/tests/perround.rs
Normal file
14
analysis/tests/perround.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use analysis::perround;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn perround_nuke() {
|
||||
let path = concat!(env!("CARGO_MANIFEST_DIR"), "/../testfiles/nuke.dem");
|
||||
dbg!(path);
|
||||
let input_bytes = std::fs::read(path).unwrap();
|
||||
|
||||
let result = perround::parse(&input_bytes).unwrap();
|
||||
dbg!(&result);
|
||||
|
||||
assert_eq!(21, result.rounds.len());
|
||||
}
|
||||
Reference in New Issue
Block a user