/[ThermoControl]/trunk/UnitTest.libThermoControl/Program.cs
ViewVC logotype

Diff of /trunk/UnitTest.libThermoControl/Program.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/UnitTest.libThermoControl/Program.cs	2013/11/12 23:39:42	11
+++ trunk/UnitTest.libThermoControl/Program.cs	2013/11/13 00:07:51	12
@@ -1,13 +1,28 @@
-´╗┐using System;
+´╗┐#define UNITTEST_ENABLE_PAUSE
+
+using libThermoControl;
+using System;
 using System.Collections.Generic;
+using System.Diagnostics;
 using System.Text;
 
 namespace UnitTest.libThermoControl
 {
     class Program
     {
+        #region Pause
+        [Conditional("UNITTEST_ENABLE_PAUSE")]
+        static void Pause()
+        {
+            Console.WriteLine("Press any key to continue.");
+            Console.ReadKey(true);
+        }
+        #endregion
+
         static void Main(string[] args)
         {
+            UnitTester.RunTests();
+            Pause();
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22