Add stream + repeat slider tests

This commit is contained in:
smoogipoo
2019-08-01 14:58:17 +09:00
parent 8a1d690011
commit b978727422
5 changed files with 514 additions and 2 deletions

View File

@ -6,6 +6,7 @@ using System.Collections.Generic;
using Newtonsoft.Json;
using NUnit.Framework;
using osu.Framework.MathUtils;
using osu.Game.Rulesets.Catch.Mods;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Catch.UI;
using osu.Game.Rulesets.Objects;
@ -22,9 +23,11 @@ namespace osu.Game.Rulesets.Catch.Tests
[TestCase("spinner")]
[TestCase("spinner-and-circles")]
[TestCase("slider")]
public void Test(string name)
[TestCase("hardrock-stream", new[] { typeof(CatchModHardRock) })]
[TestCase("hardrock-repeat-slider", new[] { typeof(CatchModHardRock) })]
public new void Test(string name, params Type[] mods)
{
base.Test(name);
base.Test(name, mods);
}
protected override IEnumerable<ConvertValue> CreateConvertValue(HitObject hitObject)