April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
New assertions
nJUnit 4 adds two assert() methods for comparing arrays.
n
nThese methods compare arrays in the most obvious way: Two arrays are equal if they have the same length and each element is equal to the corresponding element in the other array; otherwise, they're not. The case of one or both arrays being null is also handled.
npublic static void
nassertEquals(Object[] expected, Object[] actual);
n
npublic static void
nassertEquals(String message, Object[] expected,
n                             Object[] actual);