Esempio n. 1
0
        public void CompareTwoStringsWithoutIcu()
        {
            var       comparer = new TsStringComparer();
            ITsString tss1     = TsStringUtils.MakeString("bla", 1);
            ITsString tss2     = TsStringUtils.MakeString("zzz", 1);

            Assert.That(comparer.Compare(tss1, tss2), Is.LessThan(0));
            Assert.That(comparer.Compare(tss2, tss1), Is.GreaterThan(0));
        }
Esempio n. 2
0
 public void BothArgumentsNull()
 {
     Assert.That(m_comparer.Compare(null, null), Is.EqualTo(0));
 }