mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 14:37:30 +08:00
Explicitly assert specific grid type
This commit is contained in:
parent
8b046f60f0
commit
9f73a45580
@ -130,6 +130,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
|
||||
private void gridActive<T>(bool active) where T : PositionSnapGrid
|
||||
{
|
||||
AddAssert($"grid type is {typeof(T).Name}", () => this.ChildrenOfType<T>().Any());
|
||||
AddStep("choose placement tool", () => InputManager.Key(Key.Number2));
|
||||
AddStep("move cursor to spacing + (1, 1)", () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user