1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:53:22 +08:00
This commit is contained in:
Endrik Tombak 2020-04-25 10:25:07 +03:00
parent 52416ea90a
commit e906ec4d92

View File

@ -174,12 +174,12 @@ namespace osu.Game.Tests.Visual.SongSelect
return () => imported;
}
private void presentAndConfirm(Func<BeatmapSetInfo> getImport, int importedID, int expextedDiff)
private void presentAndConfirm(Func<BeatmapSetInfo> getImport, int importedID, int expectedDiff)
{
AddStep("present beatmap", () => Game.PresentBeatmap(getImport()));
AddUntilStep("wait for song select", () => Game.ScreenStack.CurrentScreen is Screens.Select.SongSelect);
AddUntilStep("recommended beatmap displayed", () => Game.Beatmap.Value.BeatmapInfo.OnlineBeatmapID == importedID + 1024 * expextedDiff);
AddUntilStep("recommended beatmap displayed", () => Game.Beatmap.Value.BeatmapInfo.OnlineBeatmapID == importedID + 1024 * expectedDiff);
}
}
}