2018-01-05 11:21:19 +00:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-12-01 11:31:54 +00:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using NUnit.Framework;
|
2017-12-01 06:08:12 +00:00
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Rulesets.Catch.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Tests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
[Ignore("getting CI working")]
|
|
|
|
|
public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer
|
|
|
|
|
{
|
|
|
|
|
public TestCaseHyperdash()
|
2018-01-10 07:58:10 +00:00
|
|
|
|
: base(new CatchRuleset())
|
2017-12-01 06:08:12 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override Beatmap CreateBeatmap()
|
|
|
|
|
{
|
|
|
|
|
var beatmap = new Beatmap();
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < 512; i++)
|
2017-12-01 11:13:32 +00:00
|
|
|
|
if (i % 5 < 3)
|
|
|
|
|
beatmap.HitObjects.Add(new Fruit { X = i % 10 < 5 ? 0.02f : 0.98f, StartTime = i * 100, NewCombo = i % 8 == 0 });
|
2017-12-01 06:08:12 +00:00
|
|
|
|
|
|
|
|
|
return beatmap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|