static void Main(string[] args) { Console.WriteLine("Testing with C#5"); Compiler1.Compile("HelloWorld.exe", Compiler1.Target.EXE, Compiler1.Platform.x86, new string[] { "", "" }, new string[] { "", "" }, false, @"C:\Users\ion\Desktop\helloworld.cs", Compiler1.Language.CSharp); Console.WriteLine("Testing with C#6"); Compiler2.Compile("HelloWorld.exe", Compiler2.Target.EXE, Compiler2.Platform.x86, new string[] { "", "" }, new string[] { "", "" }, false, @"C:\Users\ion\Desktop\helloworld.cs", Compiler2.Language.CSharp); }
public void Test1_32() { var res = Compiler1.Compile(Day.Wednesday, Week.Even); var exc = @"Расписание на чётную среду: Группа КИ18-17/1б: Нет пар "; Assert.AreEqual(exc, res); }
public void Test1_12() { var res = Compiler1.Compile(Day.Monday, Week.Even); var exc = @"Расписание на чётный понедельник: Группа КИ18-17/1б: 1) 08:30-10:05 Введение в инженерную деятельность (практика) Пересунько П. В. пр./УЛК410, УЛК306 2) 10:15-11:50 Основы программирования (практика) Грузенкин Д. В. УЛК423 "; Assert.AreEqual(exc, res); }