osu/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
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
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
TestSceneOsuModSpunOut.cs Refactor spinner SPM counter for skinning purposes 2021-03-30 04:19:23 +03:00