Commit Graph

22 Commits

Author SHA1 Message Date
Dean Herbert 29bc653d24 Remove incorrect double multiplication and add missing test coverage 2022-11-01 17:17:54 +09:00
Dean Herbert d807d9d822 Add failing test covering snap calculations with SV applied 2022-11-01 16:22:48 +09:00
Dean Herbert e8b7914295 Add test coverage of new parameter 2022-11-01 15:13:05 +09:00
Dean Herbert bace3df4ca Update test assertions in line with change 2022-10-21 22:58:10 +09:00
Dean Herbert 4b72e55770 Fix various test scenes not adding `EditorClock` to the draw hierarchy 2022-08-26 18:08:43 +09:00
Dean Herbert 1270ee9624 Update multiple tests to use new assert output for easier to understand failures 2022-08-09 19:19:54 +09:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dean Herbert 977e6d8a80 Add xmldoc for `IDistanceSnapProvider` and related properties 2022-05-05 16:25:45 +09:00
Salman Ahmed fef94d49f4 Revert "Convert data type of `DistanceSpacing` to float"
This reverts commit 7aaa88cac2.
2022-04-29 08:02:07 +03:00
Salman Ahmed abb88b0907 Move distance spacing application to `DistanceSnapGrid` 2022-04-28 10:54:38 +03:00
Salman Ahmed 7aaa88cac2 Convert data type of `DistanceSpacing` to float 2022-04-28 10:24:36 +03:00
Salman Ahmed 71533808e9 Add test case for `DistanceSpacingMultiplier` in distance snapping test scene 2022-04-28 07:14:43 +03:00
Salman Ahmed 500322ff21 Update failing snap test scenes 2022-02-15 02:21:53 +03:00
Dean Herbert b5f670cc5b Add far too many fixes for ruleset non-nullable requirements 2022-01-12 23:24:11 +09:00
smoogipoo bc37cb6f43 Merge branch 'master' into no-more-difficulty-control-points-info 2021-10-08 18:41:17 +09:00
Dean Herbert b339c149d8 Copy `BaseDifficulty` to `Beatmap<T>` and move all write operations across 2021-10-06 15:10:45 +09:00
Dean Herbert 1952ebece9 Update tests to use more correct control point definitions 2021-09-06 22:04:51 +09:00
Dean Herbert b2a14b13dc Update outdated tests 2021-09-03 17:11:12 +09:00
Dean Herbert d4e5a612ea Update `IPositionalSnapProvider` to take a `HitObject` as reference, rather than raw time
This allows fetching the correct `DifficultyControlPoint` from the
hitobject. Nothing more.
2021-09-03 17:11:12 +09:00
Dean Herbert a3d9ab1e2e Move approach rate to `EffectControlPoint` 2021-09-03 16:58:16 +09:00
Dean Herbert 6c7475f085 Fix snapped distances potentially exceeding the source distance
This results in slider placement including "excess" length, where the
curve is not applied to the placed path. This is generally not what we
want.

I considered adding a bool parameter (or enum) to change the
floor/rounding mode, but on further examination I think this is what we
always expect from this function.
2020-08-25 18:58:01 +09:00
Salman Ahmed e3a3144236
Rename editor tests namespace from "Editor" to "Editing" 2020-04-23 11:07:55 +03:00