1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +08:00

Test case improvements.

This commit is contained in:
smoogipooo 2017-05-24 20:54:01 +09:00
parent 78067e085c
commit 4ef18ff135

View File

@ -77,31 +77,34 @@ namespace osu.Desktop.VisualTests.Tests
Clock = new FramedClock(rateAdjustClock) Clock = new FramedClock(rateAdjustClock)
}); });
playField.Add(new DrawableNote(new Note for (int t = 1000; t <= 2000; t += 100)
{ {
StartTime = 1000, playField.Add(new DrawableNote(new Note
Column = 0 {
}, new Bindable<Key>(Key.D))); StartTime = t,
Column = 0
}, new Bindable<Key>(Key.J)));
playField.Add(new DrawableNote(new Note
{
StartTime = t,
Column = 3
}, new Bindable<Key>(Key.K)));
}
playField.Add(new DrawableHoldNote(new HoldNote playField.Add(new DrawableHoldNote(new HoldNote
{ {
StartTime = 1000, StartTime = 1000,
Duration = 2000, Duration = 1000,
Column = 1 Column = 1
}, new Bindable<Key>(Key.F))); }, new Bindable<Key>(Key.F)));
playField.Add(new DrawableHoldNote(new HoldNote playField.Add(new DrawableHoldNote(new HoldNote
{ {
StartTime = 1000, StartTime = 1000,
Duration = 2000, Duration = 1000,
Column = 2 Column = 2
}, new Bindable<Key>(Key.J))); }, new Bindable<Key>(Key.J)));
playField.Add(new DrawableNote(new Note
{
StartTime = 1000,
Column = 3
}, new Bindable<Key>(Key.K)));
}; };
AddStep("1 column", () => createPlayfield(1, SpecialColumnPosition.Normal)); AddStep("1 column", () => createPlayfield(1, SpecialColumnPosition.Normal));