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);
        }
        public void TestDefaultConstructor()
        {
            TestThreadOperation test = new TestThreadOperation();

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