コード例 #1
0
        public static void RunTests()
        {
            Console.WriteLine("Running all tests...\n");

            try
            {
                var test = new IEnumerableExTests();
                test.TestIsNullOrEmpty();
                test.TestForEach();
                test.TestToStack();
            }
            catch (Exception ex)
            {
                Console.WriteLine($"\nTests failed with: {ex.Message}\nStack Trace: {ex.StackTrace}");
            }

            Console.WriteLine("\nTests Complete.");
        }
コード例 #2
0
 static void Main(string[] args)
 {
     IEnumerableExTests.RunTests();
 }