Ejemplo n.º 1
0
        public void RotationTest()
        {
            //create Shape
            PowerPoint.Shape shape = new MockShape();
            shape.Rotation = 90;
            //set attributes

            //compare
            String expected = "'transformation':'r90'";
            TildaShape target = new TildaShape(shape);
            String actual = target.transformation();
            Assert.AreEqual(expected, actual);
        }