static void assertSameLength(Collection a, Collection b) { assertSameLength(null, a, b); } static void assertSameLength(S msg, Collection a, Collection b) { if (l(a) != l(b)) fail(msgColon(msg) + "Length differs: " + l(a) + "/" + l(b)); }