예제 #1
0
        private static void VerifyRightSideGreater(IContact contactA, IContact contactB)
        {
            int comparisonValue = ContactComparer_Accessor.CompareAlphabetically(contactA, contactB);
            int unitValue       = ReduceToUnitValue(comparisonValue);

            Assert.AreEqual(1, unitValue);
        }
예제 #2
0
        private static void VerifyContactsSortingEqual(IContact contactA, IContact contactB)
        {
            int comparisonValue = ContactComparer_Accessor.CompareAlphabetically(contactA, contactB);

            Assert.AreEqual(0, comparisonValue);
        }