ref: edd3ce5805803f3121dd05fe5a929f8976ab2f72
parent: 5891122782c9f2403ae2d2fb88e9e627df84b04d
author: lieff <lieff@users.noreply.github.com>
date: Thu Feb 27 19:09:23 EST 2020
test: improve coverage
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -94,6 +94,7 @@
[[ "$(./minimp3 -m 8 -s 1 -e 4 vectors/l3-nonstandard-vbrtag-only.bit)" != "error: mp3dec_ex_seek()=-3 failed" ]] && echo fail && exit 1 || echo pass
[[ "$(./minimp3 -m 8 -s 1 -e 5 vectors/l3-nonstandard-vbrtag-only.bit)" != "error: mp3dec_ex_seek()=-3 failed" ]] && echo fail && exit 1 || echo pass
[[ "$(./minimp3 -m 6 -s 1 -f 2 vectors/l3-nonstandard-sin1k0db_lame_vbrtag.bit)" != "error: mp3dec_ex_seek()=-2 failed" ]] && echo fail && exit 1 || echo pass
+[[ "$(./minimp3 vectors/l3-nonstandard-vbrtag-empty.bit)" != "rate=0 samples=0 max_diff=0 PSNR=99.000000" ]] && echo fail && exit 1 || echo pass
set -e
./minimp3 -m 6 -s 215 -b vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
binary files /dev/null b/vectors/l3-nonstandard-vbrtag-empty.bit differ