But if you wanted to test it, you could start with a digital audio file in a standard format like WAV, encode it to a FLAC file with a FLAC codec, then decode the FLAC file with a FLAC codec, and verify that the output is bit-perfect identical to the original WAV.