1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Remove usage of "diff" vernacular

This commit is contained in:
Bartłomiej Dach 2023-04-10 15:27:10 +02:00
parent 11fd93a2ba
commit 6e08105e2c
No known key found for this signature in database

View File

@ -283,15 +283,15 @@ namespace osu.Game.Tests.Visual.Online
} }
[Test] [Test]
public void TestBeatmapSetWithGuestDIff() public void TestBeatmapSetWithGuestDifficulty()
{ {
AddStep("show map", () => overlay.ShowBeatmapSet(createBeatmapSetWithGuestDiff())); AddStep("show map", () => overlay.ShowBeatmapSet(createBeatmapSetWithGuestDifficulty()));
AddStep("move mouse to host diff", () => AddStep("move mouse to host difficulty", () =>
{ {
InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(0)); InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(0));
}); });
AddAssert("guest mapper information not shown", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().All(s => s.Text != "BanchoBot")); AddAssert("guest mapper information not shown", () => overlay.ChildrenOfType<BeatmapPicker>().Single().ChildrenOfType<OsuSpriteText>().All(s => s.Text != "BanchoBot"));
AddStep("move mouse to guest diff", () => AddStep("move mouse to guest difficulty", () =>
{ {
InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(1)); InputManager.MoveMouseTo(overlay.ChildrenOfType<DifficultyIcon>().ElementAt(1));
}); });
@ -337,7 +337,7 @@ namespace osu.Game.Tests.Visual.Online
return beatmapSet; return beatmapSet;
} }
private APIBeatmapSet createBeatmapSetWithGuestDiff() private APIBeatmapSet createBeatmapSetWithGuestDifficulty()
{ {
var set = getBeatmapSet(); var set = getBeatmapSet();