Skip to content

Commit

Permalink
test: fix test values
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Oct 11, 2024
1 parent b683200 commit 915d07e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/catch/performance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ mod test {

const N_FRUITS: u32 = 728;
const N_DROPLETS: u32 = 2;
const N_TINY_DROPLETS: u32 = 291;
const N_TINY_DROPLETS: u32 = 263;

fn beatmap() -> Beatmap {
Beatmap::from_path("./resources/2118524.osu").unwrap()
Expand Down
16 changes: 8 additions & 8 deletions tests/difficulty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn basic_osu() {
NM => {
aim: 2.881184366758021,
speed: 2.468469273849314,
flashlight: 2.288770487900865,
flashlight: 2.287888783550428,
slider_factor: 0.9803293523973865,
speed_note_count: 204.88794724609374,
aim_difficult_strain_count: 106.63833474488378,
Expand All @@ -146,7 +146,7 @@ fn basic_osu() {
HD => {
aim: 2.881184366758021,
speed: 2.468469273849314,
flashlight: 0.0,
flashlight: 2.605859779358901,
slider_factor: 0.9803293523973865,
speed_note_count: 204.88794724609374,
aim_difficult_strain_count: 106.63833474488378,
Expand All @@ -163,7 +163,7 @@ fn basic_osu() {
HR => {
aim: 3.2515300463985666,
speed: 2.6323568908654615,
flashlight: 0.0,
flashlight: 2.853761577136605,
slider_factor: 0.969089944826546,
speed_note_count: 178.52041495886283,
aim_difficult_strain_count: 108.03970474535397,
Expand All @@ -180,7 +180,7 @@ fn basic_osu() {
DT => {
aim: 4.058080039906945,
speed: 3.570932204630734,
flashlight: 0.0,
flashlight: 3.318209122186825,
slider_factor: 0.9777224379583133,
speed_note_count: 211.29204189490912,
aim_difficult_strain_count: 126.9561362975524,
Expand Down Expand Up @@ -418,31 +418,31 @@ fn basic_catch() {
ar: 8.0,
n_fruits: 728,
n_droplets: 2,
n_tiny_droplets: 291,
n_tiny_droplets: 263,
is_convert: false,
};
HR => {
stars: 4.313360856186517,
ar: 10.0,
n_fruits: 728,
n_droplets: 2,
n_tiny_droplets: 291,
n_tiny_droplets: 263,
is_convert: false,
};
EZ => {
stars: 4.06522224010957,
ar: 4.0,
n_fruits: 728,
n_droplets: 2,
n_tiny_droplets: 291,
n_tiny_droplets: 263,
is_convert: false,
};
DT => {
stars: 4.635262826575386,
ar: 9.666666666666668,
n_fruits: 728,
n_droplets: 2,
n_tiny_droplets: 291,
n_tiny_droplets: 263,
is_convert: false,
};
}
Expand Down
10 changes: 5 additions & 5 deletions tests/performance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ macro_rules! test_cases {
effective_miss_count: $effective_miss_count:expr,
}) => {
(
OsuPerformance::from($map.as_owned()),
OsuPerformance::from($map.as_owned()).lazer(false),
OsuPerformanceAttributes {
pp: $pp,
pp_acc: $pp_acc,
Expand Down Expand Up @@ -120,11 +120,11 @@ fn basic_osu() {
effective_miss_count: 0.0,
};
EZ HD => {
pp: 185.64881287702838,
pp_acc: 13.59914468151693,
pp_aim: 96.88083530160195,
pp: 186.7137498214991,
pp_acc: 16.6270597231239,
pp_aim: 98.11121656070222,
pp_flashlight: 0.0,
pp_speed: 65.96268917477774,
pp_speed: 61.51901495973101,
effective_miss_count: 0.0,
};
HR => {
Expand Down

0 comments on commit 915d07e

Please sign in to comment.