public void WhenTestAcceptToNullOrEmptyFileArgumentMustBeFalse() { string file = null; var compiler = new CoffeeScriptSourceCompiler(); Assert.IsFalse(compiler.Accept(file)); file = ""; Assert.IsFalse(compiler.Accept(file)); }
public void WhenTestAcceptToNonCoffeeScriptFileMustBefalse() { var file = "file.coffeexxx"; var compiler = new CoffeeScriptSourceCompiler(); Assert.IsFalse(compiler.Accept(file)); }
public void WhenTestAcceptToCoffeeScriptFileMustBeTrue() { var file = "file.coffee"; var compiler = new CoffeeScriptSourceCompiler(); Assert.IsTrue(compiler.Accept(file)); }