示例#1
0
        public void ParseEmpty()
        {
            var map = new An8Map();

            map.Parse(
                @"
");
        }
示例#2
0
        public void ParseOther()
        {
            var map = new An8Map();

            map.Parse(
                @"
other { }
");
        }
示例#3
0
        public void ParseTextureParams()
        {
            var map = new An8Map();

            map.Parse(
                @"
textureparams { }
");

            Assert.NotNull(map.TextureParams);
        }
示例#4
0
        public void ParseTextureName()
        {
            var map = new An8Map();

            map.Parse(
                @"
texturename { ""abc"" }
");

            Assert.Equal("abc", map.TextureName);
        }
示例#5
0
        public void ParseKind()
        {
            var map = new An8Map();

            map.Parse(
                @"
kind { ""abc"" }
");

            Assert.Equal("abc", map.Kind);
        }