1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00
osu-lazer/osu.Game.Rulesets.Osu.Tests/Mods
Dean Herbert 17f0d7897b Increase lenience of alpha check in TestSceneOsuModNoScope
I believe the [test
failures](https://github.com/ppy/osu/runs/4977283066?check_suite_focus=true)
we're seeing here are due to the implementation of interpolation of the
alpha being frame dependent (in a way that doesn't interact well with
tests). The reason for never hitting the expected value is that the
beatmap ends, causing the cursor to become fully visible again.

It's probably already good-enough for most cases, so let's attempt to
silence these test failures by not checking so precisely for the alpha
value.

We're checking for either 1 or 0 so it's not too important how close it
is to either.
2022-01-28 18:36:00 +09:00
..
OsuModTestScene.cs Mark OsuModTestScene as abstract 2020-12-01 21:57:16 +01:00
TestSceneOsuModAutoplay.cs Fix another spinner test failure 2021-10-13 20:26:54 +09:00
TestSceneOsuModDifficultyAdjust.cs Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00
TestSceneOsuModDoubleTime.cs Add base ready-made abstract scene for osu! mod tests 2020-06-03 23:24:00 +03:00
TestSceneOsuModHidden.cs Rename test and fix incorrect layout 2021-10-26 11:30:36 +09:00
TestSceneOsuModMuted.cs Add unit test for inverse muting transferal 2021-08-03 12:50:54 +03:00
TestSceneOsuModNoScope.cs Increase lenience of alpha check in TestSceneOsuModNoScope 2022-01-28 18:36:00 +09:00
TestSceneOsuModPerfect.cs Seal the ruleset creation methods and let abstract method take their place 2020-04-23 13:27:12 +03:00
TestSceneOsuModSpunOut.cs Refactor spinner SPM counter for skinning purposes 2021-03-30 04:19:23 +03:00