1 |
#define UNITTEST_ENABLE_PAUSE |
2 |
|
3 |
using libThermoControl; |
4 |
using System; |
5 |
using System.Collections.Generic; |
6 |
using System.Diagnostics; |
7 |
using System.Text; |
8 |
|
9 |
namespace UnitTest.libThermoControl |
10 |
{ |
11 |
class Program |
12 |
{ |
13 |
#region Pause |
14 |
[Conditional("UNITTEST_ENABLE_PAUSE")] |
15 |
static void Pause() |
16 |
{ |
17 |
Console.WriteLine("Press any key to continue."); |
18 |
Console.ReadKey(true); |
19 |
} |
20 |
#endregion |
21 |
|
22 |
static void Main(string[] args) |
23 |
{ |
24 |
UnitTester.RunTests(); |
25 |
Pause(); |
26 |
} |
27 |
} |
28 |
} |