mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Remove test for now
This commit is contained in:
parent
f40bdcd34e
commit
caa404f8fa
@ -656,34 +656,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
checkVisibleItemCount(true, 15);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestSelectRecommendedDifficulty()
|
||||
{
|
||||
void setRecommendedAndExpect(double recommended, int expectedSet, int expectedDiff)
|
||||
{
|
||||
AddStep($"Recommend SR {recommended}", () => carousel.RecommendedStarDifficulty.Value = recommended);
|
||||
advanceSelection(direction: 1, diff: false);
|
||||
waitForSelection(expectedSet, expectedDiff);
|
||||
}
|
||||
|
||||
createCarousel();
|
||||
AddStep("Add beatmaps", () =>
|
||||
{
|
||||
for (int i = 1; i <= 7; i++)
|
||||
{
|
||||
var set = createTestBeatmapSet(i);
|
||||
carousel.UpdateBeatmapSet(set);
|
||||
}
|
||||
});
|
||||
waitForSelection(1, 1);
|
||||
setRecommendedAndExpect(1, 2, 1);
|
||||
setRecommendedAndExpect(3.9, 3, 1);
|
||||
setRecommendedAndExpect(4.1, 4, 2);
|
||||
setRecommendedAndExpect(5.6, 5, 2);
|
||||
setRecommendedAndExpect(5.7, 6, 3);
|
||||
setRecommendedAndExpect(10, 7, 3);
|
||||
}
|
||||
|
||||
private void loadBeatmaps(List<BeatmapSetInfo> beatmapSets = null, Func<FilterCriteria> initialCriteria = null)
|
||||
{
|
||||
createCarousel();
|
||||
@ -886,8 +858,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
{
|
||||
public new List<DrawableCarouselItem> Items => base.Items;
|
||||
|
||||
public new Bindable<double> RecommendedStarDifficulty => base.RecommendedStarDifficulty;
|
||||
|
||||
public bool PendingFilterTask => PendingFilter != null;
|
||||
|
||||
protected override IEnumerable<BeatmapSetInfo> GetLoadableBeatmaps() => Enumerable.Empty<BeatmapSetInfo>();
|
||||
|
Loading…
Reference in New Issue
Block a user