ABB.Swum.Tests.ContextBuilderTests.TestConstructTypeName_ConstPrimitive C# (CSharp) Метод

TestConstructTypeName_ConstPrimitive() приватный Метод

private TestConstructTypeName_ConstPrimitive ( ) : void
Результат void
        public void TestConstructTypeName_ConstPrimitive() {
            string testSrcML = "<type><name>const</name> <name>int</name></type>";
            XElement xml = XElement.Parse(string.Format(srcMLFormat, testSrcML), LoadOptions.PreserveWhitespace);

            bool isPrimitive;
            Assert.AreEqual("int", ContextBuilder.ConstructTypeName(xml.Element(SRC.Type), out isPrimitive));
            Assert.AreEqual(true, isPrimitive);
        }