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
@@ -265,28 +265,3 @@ fn norm(p: f32, a: f32, b: f32, c: f32) -> f32 {
pub struct DifficultyAttributes {
pub stars: f32,
}
#[cfg(test)]
mod tests {
use super::*;
use std::fs::File;
#[test]
#[ignore]
fn taiko_single() {
let file = match File::open("./maps/168450.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 = TaikoPP::new(&map).mods(64).calculate();
println!("Stars: {}", result.stars());
println!("PP: {}", result.pp());
}
}