mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Fix test step descriptions
This commit is contained in:
parent
708dd355cd
commit
f60a6e9893
@ -320,7 +320,7 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
|
|
||||||
moveMouseToObject(() => firstObject);
|
moveMouseToObject(() => firstObject);
|
||||||
|
|
||||||
AddStep("seek near first", () => EditorClock.Seek(320));
|
AddStep("seek near second", () => EditorClock.Seek(320));
|
||||||
|
|
||||||
AddStep("left click", () => InputManager.Click(MouseButton.Left));
|
AddStep("left click", () => InputManager.Click(MouseButton.Left));
|
||||||
AddAssert("second selected", () => EditorBeatmap.SelectedHitObjects.Single(), () => Is.EqualTo(secondObject));
|
AddAssert("second selected", () => EditorBeatmap.SelectedHitObjects.Single(), () => Is.EqualTo(secondObject));
|
||||||
@ -347,7 +347,7 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
|
|
||||||
moveMouseToObject(() => firstObject);
|
moveMouseToObject(() => firstObject);
|
||||||
|
|
||||||
AddStep("seek near first", () => EditorClock.Seek(600));
|
AddStep("seek to third", () => EditorClock.Seek(600));
|
||||||
|
|
||||||
AddStep("left click", () => InputManager.Click(MouseButton.Left));
|
AddStep("left click", () => InputManager.Click(MouseButton.Left));
|
||||||
AddAssert("third selected", () => EditorBeatmap.SelectedHitObjects.Single(), () => Is.EqualTo(thirdObject));
|
AddAssert("third selected", () => EditorBeatmap.SelectedHitObjects.Single(), () => Is.EqualTo(thirdObject));
|
||||||
|
Loading…
Reference in New Issue
Block a user