1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 05:42:56 +08:00

make tests pass condition more rigid

This commit is contained in:
Hiviexd 2024-12-04 21:15:22 +01:00
parent 4918b61412
commit f3eb21cfec

View File

@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Taiko.Tests.Mods
new TaikoReplayFrame(3500, TaikoAction.LeftCentre), new TaikoReplayFrame(3500, TaikoAction.LeftCentre),
new TaikoReplayFrame(3700), new TaikoReplayFrame(3700),
}, },
PassCondition = () => Player.ScoreProcessor.Combo.Value == 6 PassCondition = () => Player.ScoreProcessor.Combo.Value == 6 && Player.ScoreProcessor.Accuracy.Value == 1
}); });
} }
@ -92,7 +92,7 @@ namespace osu.Game.Rulesets.Taiko.Tests.Mods
new TaikoReplayFrame(2250, TaikoAction.LeftCentre), new TaikoReplayFrame(2250, TaikoAction.LeftCentre),
new TaikoReplayFrame(2450), new TaikoReplayFrame(2450),
}, },
PassCondition = () => Player.ScoreProcessor.Combo.Value == 6 PassCondition = () => Player.ScoreProcessor.Combo.Value == 6 && Player.ScoreProcessor.Accuracy.Value == 1
}); });
[Test] [Test]
@ -127,7 +127,7 @@ namespace osu.Game.Rulesets.Taiko.Tests.Mods
new TaikoReplayFrame(1900), new TaikoReplayFrame(1900),
new TaikoReplayFrame(2000, TaikoAction.LeftCentre), new TaikoReplayFrame(2000, TaikoAction.LeftCentre),
}, },
PassCondition = () => Player.ScoreProcessor.Combo.Value == 5 PassCondition = () => Player.ScoreProcessor.Combo.Value == 5 && Player.ScoreProcessor.Accuracy.Value == 1
}); });
} }
} }