Blob-compare
sizeEqual
should return true if size are equal
should return false if size are not equal
typeEqual
should return true if type are equal
should return false if type are not equal
magicNumbersEqual
should return true if blobs are the same
should return true if magic numbers are equal (worker)
should return true if magic numbers are equal (main thread)
should return false if magic numbers are not equal
toBinaryString && toArrayBuffer
should return a binary string (worker)
should return a binary string (main thread)
should return an arrayBuffer (worker)
should return an arrayBuffer (main thread)
compareBuffers
should return true if buffers are the same (worker)
should return true if buffers are the same (main thread)
should return false if buffers are not the same length
bytesEqualWithBinaryString
should return true if bytes are equal (worker)
should return true if bytes are equal (main thread)
should return false if bytes are not equal
bytesEqualWithArrayBuffer
isEqual
should throw if one method is not recognized