Exemple #1
0
        protected static bool assertEquals(string message, UnicodeSet expected, UnicodeSet actual)
        {
            bool result = expected == null ? actual == null : expected.Equals(actual);

            return(handleAssert(result, message, StringFor(expected),
                                StringFor(actual)));
        }
Exemple #2
0
            public override bool Equals(Object other)
            {
                LocaleDataTest.ExemplarGroup o = (LocaleDataTest.ExemplarGroup)other;
                bool r = ILOG.J2CsMapping.Collections.Arrays.Equals(scs, o.scs) && set.Equals(o.set);

                return(r);
            }
Exemple #3
0
 /* Utilities */
 public static bool VerifySetsIdentical(AbstractTestLog here, UnicodeSet set1, UnicodeSet set2)
 {
     if (set1.Equals(set2))
     {
         return(true);
     }
     TestFmwk.Errln("Sets differ:");
     TestFmwk.Errln("UnicodeMap - HashMap");
     TestFmwk.Errln(new UnicodeSet(set1).RemoveAll(set2).ToPattern(true));
     TestFmwk.Errln("HashMap - UnicodeMap");
     TestFmwk.Errln(new UnicodeSet(set2).RemoveAll(set1).ToPattern(true));
     return(false);
 }