public static void arrays(Object[] actual, Object... expected) {
for(int i = 0; i < Math.min(actual.length, expected.length); ++i)
Assert.assertEquals("Array mismatch at index " + i + ":", expected[i],
actual[i]);
Assert.assertEquals("Array length mismatch", expected.length,
actual.length);
}
Design Token-Based UI Architecture
1 week ago