예제 #1
0
 public void StartProgram_Arguments_StartsScriptMode()
 {
     MutatorMain.Main(new string[] { "scriptName" });
     Assert.AreEqual(_output.ToString(), "Executing script scriptName\r\n");
 }
예제 #2
0
 public void StartProgram_NoArguments_StartsReplMode()
 {
     MutatorMain.Main(new string[0]);
     Assert.AreEqual(_output.ToString(), "Welcome to Mut, the Mutator DSL!\r\n");
 }