-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest.cs
29 lines (26 loc) · 1.52 KB
/
Test.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Diagnostics;
namespace TEST;
internal static partial class Program {
//##########################################################################################################################################################
//##########################################################################################################################################################
static void PRINT(string PrintMe) =>
Console.WriteLine(PrintMe);
//##########################################################################################################################################################
//##########################################################################################################################################################
#if true
static void RESULT(string TestLabel, bool Result) =>
Console.WriteLine(
$"{TestLabel,32}: " + (Result ? "Pass" : "FAILURE")
);
#else
static void RESULT(string TestLabel, bool Result) {
if (Result == false)
Console.WriteLine(
$"{TestLabel,32}: FAILURE"
);
}
#endif
//##########################################################################################################################################################
//##########################################################################################################################################################
}