mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Remove test for now
This commit is contained in:
@ -656,34 +656,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
|||||||
checkVisibleItemCount(true, 15);
|
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)
|
private void loadBeatmaps(List<BeatmapSetInfo> beatmapSets = null, Func<FilterCriteria> initialCriteria = null)
|
||||||
{
|
{
|
||||||
createCarousel();
|
createCarousel();
|
||||||
@ -886,8 +858,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
|||||||
{
|
{
|
||||||
public new List<DrawableCarouselItem> Items => base.Items;
|
public new List<DrawableCarouselItem> Items => base.Items;
|
||||||
|
|
||||||
public new Bindable<double> RecommendedStarDifficulty => base.RecommendedStarDifficulty;
|
|
||||||
|
|
||||||
public bool PendingFilterTask => PendingFilter != null;
|
public bool PendingFilterTask => PendingFilter != null;
|
||||||
|
|
||||||
protected override IEnumerable<BeatmapSetInfo> GetLoadableBeatmaps() => Enumerable.Empty<BeatmapSetInfo>();
|
protected override IEnumerable<BeatmapSetInfo> GetLoadableBeatmaps() => Enumerable.Empty<BeatmapSetInfo>();
|
||||||
|
Reference in New Issue
Block a user