1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 13:22:55 +08:00

Fix TestCaseTaikoPlayfield not correctly setting strong hit objects.

This commit is contained in:
smoogipooo 2017-08-03 13:11:53 +09:30
parent 358b7c9d3d
commit 13af804bbb

View File

@ -18,7 +18,7 @@ namespace osu.Desktop.VisualTests.Tests
{ {
internal class TestCaseTaikoPlayfield : TestCase internal class TestCaseTaikoPlayfield : TestCase
{ {
private const double default_duration = 300; private const double default_duration = 1000;
private const float scroll_time = 1000; private const float scroll_time = 1000;
public override string Description => "Taiko playfield"; public override string Description => "Taiko playfield";
@ -180,7 +180,8 @@ namespace osu.Desktop.VisualTests.Tests
Hit h = new Hit Hit h = new Hit
{ {
StartTime = playfield.Time.Current + scroll_time, StartTime = playfield.Time.Current + scroll_time,
ScrollTime = scroll_time ScrollTime = scroll_time,
IsStrong = strong
}; };
if (strong) if (strong)
@ -194,7 +195,8 @@ namespace osu.Desktop.VisualTests.Tests
Hit h = new Hit Hit h = new Hit
{ {
StartTime = playfield.Time.Current + scroll_time, StartTime = playfield.Time.Current + scroll_time,
ScrollTime = scroll_time ScrollTime = scroll_time,
IsStrong = strong
}; };
if (strong) if (strong)