public void TestExecutionInThreadPool() { TestThreadOperation test = new TestThreadOperation(true); Assert.IsFalse(test.Ended); test.Start(); test.Join(); Assert.IsTrue(test.Ended); }
public void TestExecutionInExplicitThread() { TestThreadOperation test = new TestThreadOperation(false); Assert.IsFalse(test.Ended); test.Start(); test.Join(); Assert.IsTrue(test.Ended); }