Esempio n. 1
0
        //[Test]
        public void TestLoad()
        {
            const string scenePathname = @"Examples\Scene.unity";
            var          local         = MakeLocalPath(scenePathname);
            var          text          = System.IO.File.ReadAllText(local);

            Assert.IsNotEmpty(text, $"Couldn't read {local}");
            var lexer = new UnityLexer(text);

            Assert.IsTrue(lexer.Process(), lexer.Error);
        }