Esempio n. 1
0
        public void TestComparer()
        {
            var usage1 = new ElementDefinition {
                Name = "type1"
            };
            var usage2 = new ElementDefinition {
                Name = "type5"
            };

            var comparer = new ElementDefinitionComparer();

            Assert.AreEqual(-4, comparer.Compare(usage1, usage2));
        }