What is the easiest way to check (in a unit test) whether binary files A and B are equal?
With assertBinaryEquals.
public static void assertBinaryEquals(java.io.File expected, java.io.File actual)
http://junit-addons.sourceforge.net/junitx/framework/FileAssert.html