Commit Graph

8 Commits

Author SHA1 Message Date
5262d94e21 Fix wrong assert in offscreen test 2021-04-20 13:21:57 +02:00
8656176ab8 Add the playable beatmap as check argument
This is different from the working beatmap's `.Beatmap` property in that it is mutated by the ruleset/editor.

So hit objects, for example, are actually of type `Slider` and such instead of the legacy `ConvertSlider`.

This should be preferred over `workingBeatmap.Beatmap`.
2021-04-20 01:31:51 +02:00
448574e7e6 Use WorkingBeatmap instead of IBeatmap
This lets us access things like the background, track, etc. which are necessary for quality and filesize checks.

Also improves the structure of the `CheckBackgroundTest` class in the process.
2021-04-17 17:33:53 +02:00
98c25b2e71 Remove unused import 2021-04-13 10:33:08 +02:00
b45d7de4ec Update asserts to use better nunit specifications 2021-04-13 15:04:01 +09:00
4837cef095 Use static for playfield centre positioning 2021-04-13 14:44:52 +09:00
6d3f9fa9ce Use is class instead of Equals with template index
Ensures ordering of `PossibleTemplates` does not affect tests.
2021-04-13 02:29:25 +02:00
8a6dfcfae1 Add CheckOffscreenObjects tests 2021-04-13 01:22:36 +02:00