示例#1
0
        public void AssembleFileNameTest()
        {
            ImageAssembleBase target   = new NonphotoIndexedAssemble(new WebGreaseContext(new WebGreaseConfiguration()));
            const string      expected = "Combine.png";

            target.AssembleFileName = expected;
            Assert.AreEqual(expected, target.AssembleFileName);
        }
示例#2
0
        public void PackingTypeTest()
        {
            ImageAssembleBase       target   = new NonphotoIndexedAssemble(new WebGreaseContext(new WebGreaseConfiguration()));
            const SpritePackingType expected = SpritePackingType.Vertical;
            SpritePackingType       actual   = target.PackingType;

            Assert.AreEqual(expected, actual);
        }