Пример #1
0
        public void SimpleName_Compare()
        {
            var objName1 = new ObjectName("id1");
            var objName2 = new ObjectName("id2");

            int i = -2;

            Assert.DoesNotThrow(() => i = objName1.CompareTo(objName2));
            Assert.AreEqual(-1, i);
        }