Exemple #1
0
        public void GetParametersTest()
        {
            string[] attributes = new string[] { "50", "50", "100", "100", "25", "25" };
            var      token      = new TinySvgRectangle(attributes);

            CollectionAssert.AreEqual(attributes, token.GetParameters());
        }
Exemple #2
0
        public void SetStringParametersTest()
        {
            string[] attributes = new string[] { "50", "50", "100", "100", "25", "25" };
            var      token      = new TinySvgRectangle(attributes);

            string[] expectedrestult = new string[]
            {
                attributes[0],
                attributes[1],
                attributes[2],
                attributes[3],
                attributes[4],
                attributes[5]
            };

            CollectionAssert.AreEqual(expectedrestult, token.GetParameters());
        }