예제 #1
0
 void TestBasicInstance(TypeScriptLS ls)
 {
     string testts1 = "alert('OK');";
     ls.AddScript ("test.ts", testts1);
     Assert.AreEqual ("[\"test.ts\"]", ls.GetScriptFileNames (), "#4");
     var sshot = ls.GetScriptSnapshot ("test.ts");
     Assert.AreEqual (testts1, sshot.GetText (0, sshot.GetLength ()), "#5");
 }