Add test steps ensuring correct behaviour

This commit is contained in:
iiSaLMaN 2019-11-08 13:20:02 +03:00
parent 8ef9ccc39e
commit 901a8d597b
1 changed files with 3 additions and 0 deletions

View File

@ -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]