test if 2 binaries give the same result for int values