Esempio n. 1
0
        public void ToString(string s, string expectedToString)
        {
            var comparer = new NulableStringsValueComparer();

            var result = comparer.ToString(s);

            Assert.AreEqual(expectedToString, result);
        }
Esempio n. 2
0
        public void Compare(string s1, string s2, bool expectedResult)
        {
            var comparer = new NulableStringsValueComparer();

            var result = comparer.Compare(s1, s2, new ComparisonSettings());

            Assert.AreEqual(expectedResult, result);
        }