mirror of https://github.com/ppy/osu
Add test steps ensuring correct behaviour
This commit is contained in:
parent
8ef9ccc39e
commit
901a8d597b
|
@ -59,6 +59,9 @@ public void TestStartMultipleTracks()
|
|||
AddStep("start track 2", () => track2.Start());
|
||||
AddAssert("track 1 stopped", () => !track1.IsRunning);
|
||||
AddAssert("track 2 started", () => track2.IsRunning);
|
||||
AddStep("start track 1", () => track1.Start());
|
||||
AddAssert("track 2 stopped", () => !track2.IsRunning);
|
||||
AddAssert("track 1 started", () => track1.IsRunning);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Reference in New Issue