1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00
osu-lazer/osu.Game.Rulesets.Osu.Tests
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
..
.vscode Update build configurations to net5.0 paths 2021-01-19 12:13:27 +09:00
Editor Add test coverage of saving velocity 2022-01-24 19:43:18 +09:00
Mods Increase lenience of alpha check in TestSceneOsuModNoScope 2022-01-28 18:36:00 +09:00
Resources Add test resources for animated legacy hit circle overlay 2021-12-28 15:58:34 +01:00
osu.Game.Rulesets.Osu.Tests.csproj Revert nunit test adaptor version bump until console output bug is resolved 2022-01-19 02:18:58 +09:00
OsuBeatmapConversionTest.cs Replace usage of TimeoutAttribute to fix beatmap conversion test failures 2022-01-04 11:51:41 +09:00
OsuDifficultyCalculatorTest.cs Update difficulty calculator tests to also use IWorkingBeatmap 2021-11-15 19:16:49 +09:00
OsuLegacyModConversionTest.cs Cover mapping fully for osu! mods 2020-11-15 15:32:02 +01:00
OsuSkinnableTestScene.cs Fix broken osu tests 2021-04-07 20:17:20 +09:00
StackingTest.cs Migrate decoding to line-buffered reader 2019-09-15 01:28:07 +02:00
TestPlayfieldBorder.cs Add test coverage 2020-10-20 13:59:07 +09:00
TestSceneAccuracyHeatmap.cs Rename last remaining BeatmapInfo Beatmap usage 2021-10-04 17:35:53 +09:00
TestSceneCursorParticles.cs Add failing test 2021-09-21 14:44:22 +09:00
TestSceneCursorTrail.cs Remove unused using directive 2021-06-22 12:03:55 +03:00
TestSceneDrawableJudgement.cs Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
TestSceneFollowPoints.cs Separate classes 2020-11-20 16:53:08 +09:00
TestSceneGameplayCursor.cs Fix incorrect usages of Scheduler.AddOnce 2021-10-14 17:52:19 +09:00
TestSceneHitCircle.cs Merge pull request #13523 from ekrctb/applicable-to-dho 2021-06-17 19:59:06 +09:00
TestSceneHitCircleApplication.cs Deprecate old overload of Apply 2021-04-21 14:32:37 +09:00
TestSceneHitCircleArea.cs Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
TestSceneHitCircleComboChange.cs Add early/late tests for hit circles 2021-06-17 15:06:56 +09:00
TestSceneHitCircleHidden.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneHitCircleKiai.cs Add test coverage 2021-06-04 14:14:51 +09:00
TestSceneHitCircleLongCombo.cs Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00
TestSceneLegacyBeatmapSkin.cs Remove unnecessary parentheses 2021-07-22 16:42:07 +03:00
TestSceneMissHitWindowJudgements.cs Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
TestSceneNoSpinnerStacking.cs Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00
TestSceneObjectOrderedHitPolicy.cs Merge branch 'master' into no-more-difficulty-control-points-info 2021-10-08 18:41:17 +09:00
TestSceneOsuFlashlight.cs Centralise TestPlayer implementations as much as possible 2020-03-05 11:25:07 +09:00
TestSceneOsuHitObjectSamples.cs Add test ensuring correct osu! ruleset sample lookups 2021-06-01 18:56:28 +09:00
TestSceneOsuPlayer.cs Merge remote-tracking branch 'upstream/master' into test-scene-create-ruleset 2020-06-03 22:00:02 +03:00
TestSceneResumeOverlay.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneShaking.cs Add early/late tests for hit circles 2021-06-17 15:06:56 +09:00
TestSceneSkinFallbacks.cs Fix legacy approach circles accepting alpha 2021-09-16 19:35:15 +09:00
TestSceneSlider.cs Update tests to use more correct control point definitions 2021-09-06 22:04:51 +09:00
TestSceneSliderApplication.cs Store default skins to database 2021-11-29 18:28:25 +09:00
TestSceneSliderComboChange.cs Add slider combo change test 2019-09-26 17:39:26 +09:00
TestSceneSliderHidden.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneSliderInput.cs Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00
TestSceneSliderSnaking.cs Expose and use test ruleset config cache in test scenes 2021-12-23 19:42:26 +01:00
TestSceneSpinner.cs Use singular IApplicableToDrawableHitObject for consumers 2021-06-16 18:47:04 +09:00
TestSceneSpinnerApplication.cs Deprecate old overload of Apply 2021-04-21 14:32:37 +09:00
TestSceneSpinnerHidden.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneSpinnerRotation.cs Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
TestSceneStartTimeOrderedHitPolicy.cs Remove all usage of BaseDifficulty (and access Difficulty instead) 2022-01-18 22:57:39 +09:00