public static void assertArrayEqual(byte[] expected,byte[] actual){
  if (verbose) {
    log("assertArrayEqual(" + arrayToString(expected) + ", "+ arrayToString(actual)+ ")");
  }
  if (expected.length != actual.length) {
    TestUtils.assertBool(false);
  }
  for (int index=0; index < expected.length; ++index) {
    assertEqual(expected[index],actual[index]);
  }
}

public static void assertArrayEqual ( byte [ ] expected , byte [ ] actual ) { if ( verbose ) { log ( "assertArrayEqual(" + arrayToString ( expected ) + ", " + arrayToString ( actual ) + ")" ) ; } if ( expected . length != actual . length ) { TestUtils . assertBool ( false ) ; } for ( int index = 0 ; index < expected . length ; ++ index ) { assertEqual ( expected [ index ] , actual [ index ] ) ; } }
asserts that the given byte arrays are equal
