fate: add bprint test.

This commit is contained in:
Nicolas George 2012-06-03 19:00:22 +02:00
parent b3e2bb08a9
commit 7a2b429175
2 changed files with 18 additions and 0 deletions

View File

@ -12,6 +12,10 @@ FATE_LIBAVUTIL += fate-base64
fate-base64: libavutil/base64-test$(EXESUF)
fate-base64: CMD = run libavutil/base64-test
FATE_LIBAVUTIL += fate-bprint
fate-bprint: libavutil/bprint-test$(EXESUF)
fate-bprint: CMD = run libavutil/bprint-test
FATE_LIBAVUTIL += fate-crc
fate-crc: libavutil/crc-test$(EXESUF)
fate-crc: CMD = run libavutil/crc-test

14
tests/ref/fate/bprint Normal file
View File

@ -0,0 +1,14 @@
Short text in unlimited buffer: 174/174
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
Long text in unlimited buffer: 2834/2834
Long text in limited buffer: 2047/2834
Short text in automatic buffer: 174/174
Long text in automatic buffer: 1003/2834
Long text count only buffer: 0/2834
Long text count only buffer: 255/2834