Пример #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);
        }