Salman Ahmed
723d70be70
Change TestInputSingularWithBreak
to reproduce case of pressing before second object
2022-04-29 05:38:14 +03:00
Salman Ahmed
7442ae283c
Tidy up test cases a touch
2022-04-29 05:25:22 +03:00
Dean Herbert
de625125d6
Rename magnetised mod attraction strength property to match new naming
2022-04-01 13:03:48 +09:00
Dean Herbert
a987cda30d
Rename "Aim Assist" to "Magnetised" to better suit the mod's behaviour
...
As proposed in https://github.com/ppy/osu/discussions/17375 .
2022-04-01 12:15:52 +09:00
Dean Herbert
054ed546e3
Fix intermittent failures in remaining test method
2022-02-23 16:56:50 +09:00
Dean Herbert
a6b6644c2e
Replace LINQ queries with recommendations
2022-02-23 16:22:13 +09:00
Dean Herbert
9e279c3ebc
Fix completely incorrect judgement specification
2022-02-22 14:37:52 +09:00
Dean Herbert
91acc9eec6
Remove checks which are still going to occasionally fail due to pooling
2022-02-22 14:36:08 +09:00
Dean Herbert
0d56693b7a
Fix test not always checking the final bonus value
...
Due to the previous logic not waiting until the spinner had completed,
there could be false negatives as the check runs too early, with a
potential additional bonus spin occurring afterwards.
2022-02-22 14:28:15 +09:00
Kaleb
95b1bffffe
Add test to ensure spinners only complete
...
No bonus or a non-300 judgement
2022-02-14 03:46:36 -05:00
Kaleb
c1777f20e1
Fix Spun Out tests
...
Change 'unaffected by mods' test to use dynamic RPM value instead of a fixed value
2022-02-14 03:11:44 -05:00
Dean Herbert
2731d8e3c2
Merge pull request #16701 from LeNitrous/mod-alternate-osu
...
Add "Alternate" mod for osu! ruleset
2022-02-03 10:41:23 +09:00
Dean Herbert
987aa5a21c
Add testing of different strengths
2022-02-02 16:26:00 +09:00
Dean Herbert
6b31e7e9db
Merge branch 'master' into aimassist-mod
2022-02-02 15:18:48 +09:00
Dean Herbert
104256a054
Add test coverage
2022-02-02 15:18:44 +09:00
Nitrous
e408d8ef0e
rename Frames
to ReplayFrames
2022-01-29 23:19:51 +08:00
Nitrous
1087d8b1ce
add tests
2022-01-29 22:31:31 +08:00
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
Dean Herbert
7f65f3a47f
Remove all usage of BaseDifficulty
(and access Difficulty
instead)
2022-01-18 22:57:39 +09:00
Semyon Rozhkov
34d235b790
Reset combo in different way
2021-11-10 15:50:36 +03:00
Dean Herbert
838481bf3a
Merge pull request #15252 from jaswon/no-scope-breaks
...
Show cursor during breaks and spinners in no scope mod
2021-10-27 12:55:02 +09:00
Dean Herbert
e7b19cb724
Rename test and fix incorrect layout
2021-10-26 11:30:36 +09:00
Roxie Wattz
7a92c7ab7e
Move condition to separate switch statement
...
No clue if this is how peppy wanted me to do it but it still works
2021-10-25 00:25:32 -07:00
Roxie Wattz
03896fd2eb
Added test for Ouendan 2 style Hidden mod
2021-10-24 22:17:55 -07:00
Jason Won
9f62d1d98c
add tests for NoScope
2021-10-24 19:04:04 -04:00
smoogipoo
ceec81d54d
Fix another spinner test failure
2021-10-13 20:26:54 +09:00
Dean Herbert
c41271ea78
Fix hidden test failures
2021-10-07 16:26:24 +09:00
Dean Herbert
32afd3f426
Replace all basic usages
2021-10-02 02:22:23 +09:00
Salman Ahmed
0d22b9223b
Add unit test for inverse muting transferal
2021-08-03 12:50:54 +03:00
Salman Ahmed
ea02571da9
Inline parameterised test case
2021-08-03 12:49:39 +03:00
Salman Ahmed
026c632539
Add test coverage
2021-08-01 20:19:44 +03:00
Salman Ahmed
0bf84e473d
Refactor spinner SPM counter for skinning purposes
2021-03-30 04:19:23 +03:00
Bartłomiej Dach
0df15b4d7a
Add test coverage
2021-02-07 19:25:33 +01:00
Bartłomiej Dach
9984c80c87
Make useless existing test actually fail
2021-01-06 22:08:37 +01:00
ekrctb
245be2c5ed
Adjust namespace
2020-12-04 20:21:53 +09:00
Bartłomiej Dach
0bc591fef2
Add failing assertions
...
`GameplayBeatmap` has to be used instead of the normal bindable
`Beatmap`, beecause the former uses osu!-specific hitobjects, while
the latter returns convert objects (i.e. `ConvertSlider`s).
Similarly, the mod has to be fetched from the player instead of the
global bindable, as `Player` has its own cloned instance of the mod, to
which the beatmap is applied. The global bindable instance does not have
`FirstObject` set.
2020-12-03 22:51:59 +01:00
smoogipoo
db7e82c560
Add test
2020-12-03 14:54:28 +09:00
Bartłomiej Dach
03f5460dd2
Mark OsuModTestScene as abstract
2020-12-01 21:57:16 +01:00
smoogipoo
9792d1fc73
Fix slider tests
2020-11-13 23:08:39 +09:00
Bartłomiej Dach
25f59e0489
Add failing test cases
2020-08-11 21:55:50 +02:00
Bartłomiej Dach
b78ccf8a34
Rewrite Spun Out test scene
2020-08-11 21:28:00 +02:00
Salman Ahmed
611f64fd36
Add base ready-made abstract scene for osu! mod tests
2020-06-03 23:24:00 +03:00
Salman Ahmed
227503c0af
Merge remote-tracking branch 'upstream/master' into test-scene-create-ruleset
2020-04-23 16:25:33 +03:00
Salman Ahmed
2fa47992dc
Seal the ruleset creation methods and let abstract method take their place
...
Also makes `CreatePlayerRuleset()` and `CreateRulesetForSkinProvider()` not-null to avoid unwanted behaviour with their derivers
2020-04-23 13:27:12 +03:00
Salman Ahmed
155bc8b49a
Remove ModTestScene
ruleset parameter on constructor and use CreateRuleset
instead
2020-04-17 11:17:59 +03:00
Dean Herbert
9dda7da489
Fix spinners being considered the "first object" for increased visibility in hidden
2020-04-16 14:11:38 +09:00
Dean Herbert
0be423183d
Rename data class
2020-03-11 00:36:56 +09:00
Bartłomiej Dach
d5dda05d98
Merge branch 'master' into fix-perfect-judgements
2020-03-08 14:06:18 +01:00
Dean Herbert
5b8aaba4a6
Merge branch 'master' into fix-perfect-judgements
2020-03-06 00:18:05 +09:00
Dean Herbert
583e2c3f4a
Actually check rate is applied
2020-03-06 00:10:05 +09:00
Dean Herbert
2b89fb68f7
Merge branch 'master' into fix-testscene-rate
2020-03-05 23:38:33 +09:00
Dean Herbert
9a12909f09
Test ModDifficultyAdjust is actually taking effect
2020-03-05 11:55:20 +09:00
Dean Herbert
26ce0d05d6
Use autoplay mod rather than local replay provider
2020-03-05 11:33:30 +09:00
Dean Herbert
fadebcdc03
Move all sets to object initialiser for code formatting reasons
2020-03-05 10:21:25 +09:00
Dean Herbert
3b19467ead
ModTestCaseData -> ModTestData
2020-03-05 10:19:42 +09:00
Dean Herbert
0f1f1d1a6b
Remove unused "name" parameter
2020-03-05 10:18:37 +09:00
Dean Herbert
2a581ef247
Remove required types
2020-03-05 10:15:17 +09:00
Dean Herbert
ce3786cfd9
Rename to ModTestScene (is no longer a sandbox)
2020-03-05 10:11:27 +09:00
voidedWarranties
c3f840cc1a
Fix Autoplay = false and AllowFail behavior
2020-03-03 17:12:01 -08:00
smoogipoo
d11d29c1f7
Adjust namespaces
2020-03-03 15:30:53 +09:00
smoogipoo
cc5b44e466
Add test scene
2020-03-03 13:36:55 +09:00
smoogipoo
ce7cbf29ca
Move to using test methods for better separation
2020-03-02 12:20:25 +09:00
smoogipoo
239cfddcbb
Improve test scenes/cases
2020-03-02 10:50:41 +09:00
voidedWarranties
089ec4c792
Test scene for mod development
2020-02-29 21:16:28 -08:00