remove ignored unit tests

This commit is contained in:
MaxOhn
2021-02-23 19:45:49 +01:00
parent 584e1c5714
commit 8a3bb912b0
6 changed files with 0 additions and 167 deletions
-25
View File
@@ -168,28 +168,3 @@ impl<'o> DifficultyHitObject<'o> {
pub struct DifficultyAttributes {
pub stars: f32,
}
#[cfg(test)]
mod tests {
use super::*;
use std::fs::File;
#[test]
#[ignore]
fn mania_single() {
let file = match File::open("./maps/1355822.osu") {
Ok(file) => file,
Err(why) => panic!("Could not open file: {}", why),
};
let map = match Beatmap::parse(file) {
Ok(map) => map,
Err(why) => panic!("Error while parsing map: {}", why),
};
let result = ManiaPP::new(&map).mods(256).calculate();
println!("Stars: {}", result.stars());
println!("PP: {}", result.pp());
}
}