using System; public class TestSystem { public static int Main() { TestArithmetics arithmetics = new TestArithmetics(); int arithmeticsRes = arithmetics.runTests(); if (arithmeticsRes != 0) { Console.WriteLine("Errors appeared during arithmetic operations... (" + arithmeticsRes + ")"); return -1; } TestCasts casts = new TestCasts(); int castRes = casts.runTests(); if (castRes != 0) { Console.WriteLine("Errors appeared during cast operations... (" + castRes + ")"); return -1; } Console.WriteLine("Tests were great!"); return 0; } }