public void TestTestCasesModelIs50() { string fullPath = Directory.GetCurrentDirectory() + "\\" + @"InputFile.txt"; TestCasesModel m = new TestCasesModel(fullPath, 5, 10); Debug.Write(m.ToString()); Assert.IsTrue(m.SafeGalaxyPlaceList.Count == 50); }
static void Main(string[] args) { string fullPath = Directory.GetCurrentDirectory() + "\\" + @"InputFile.txt"; if (!File.Exists(fullPath)) { throw new Exception("ERROR: Peas check file exists"); } TestCasesModel m1 = new TestCasesModel(fullPath, 10, 100); Console.WriteLine(m1.ToString()); TestCasesModel m2 = new TestCasesModel(fullPath, 200, 1000); Console.WriteLine(m2.ToString()); }