コード例 #1
0
        public void ToXmlTest2()
        {
            basicConstraints target   = new basicConstraints(testData3);
            XNode            expected = testData3;
            XNode            actual;

            actual = target.ToXml();
            Assert.AreEqual(expected.ToString(), actual.ToString());
        }
コード例 #2
0
        public void basicConstraintsConstructorTest2()
        {
            basicConstraints target = new basicConstraints(false);

            target.IsCA       = false;
            target.PathLength = "none";
            XNode expected = testData3;
            XNode actual   = target.ToXml();

            Assert.AreEqual(expected.ToString(), actual.ToString());
        }