public void TestCsrClassWontCompile() { CsrTool csr = new CsrTool(new TraceOutputter()); csr.ScriptPath = new ParsedPath("WontCompile.csr", PathType.File); csr.Execute(); Assert.IsFalse(csr.Output.HasOutputErrors); }
public void TestCsrClassExtensionMethod() { // Test that .NET C# v3.5 features work CsrTool csr = new CsrTool(new TraceOutputter()); csr.ScriptPath = new ParsedPath("ExtensionMethod.csr", PathType.File); csr.Execute(); Assert.IsFalse(csr.Output.HasOutputErrors); }