Exemple #1
0
        public void ChangeDefaultPatternAnotherTest()
        {
            ShapesFeatures newShapes = new ShapesFeatures(10);

            newShapes.AddNewSequence("s p r");
            newShapes.AddNewSequence("t c r s");
            newShapes.ChangeDefaultPattern(2, 3, "dashed");

            Assert.AreEqual(newShapes.ShapeList[1][2].Pattern, "dashed");
        }
Exemple #2
0
        public void ChangeDefaultPatternTest()
        {
            ShapesFeatures newShapes = new ShapesFeatures(10);

            newShapes.AddNewSequence("s p r");
            newShapes.AddNewSequence("t c r s");
            newShapes.ChangeDefaultPattern(1, 2, "dotted");

            Assert.AreEqual(newShapes.ShapeList[0][1].Pattern, "dotted");
        }