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))); }
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); }
/* 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); }