public void MustCompileAValidCoffeeScriptFile()
        {
            var compiler = new CoffeeScriptSourceCompiler();
            var coffeScriptFile = GetCoffeeTestFileLocation();
            var compiledFile = compiler.Compile(coffeScriptFile);

            Assert.AreEqual(GetJavaScriptCompiledTestFile(), compiledFile);
        }
        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));
 }