Пример #1
0
        public void TestAppend()
        {
            SvgPathSegList list = getEmptyList();

            list.AppendItem(getLineto());
            Assert.AreEqual(1, list.NumberOfItems);
            Assert.AreEqual(SvgPathSegType.LineToAbs, list[0].PathSegType);
        }
Пример #2
0
        public void TestReadOnlyAppend()
        {
            SvgPathSegList list = new SvgPathSegList("", true);

            list.AppendItem(getLineto());
        }