coding-test.c: refactored and added deflate support.
authorSergio Villar Senin <svillar@igalia.com>
Fri, 21 Oct 2011 10:30:08 +0000 (12:30 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 17 Nov 2011 18:08:56 +0000 (19:08 +0100)
commitdbcd20621c274712460401af58f8aede0027d804
treee73a2dd1cc8ef1c1aebb5056e856231ffa1a1e83
parente44809a82be8dcaa97ffdc9788e00e08f874dce9
coding-test.c: refactored and added deflate support.

Refactored the original code. A couple of utility functions perform now all
the checks.

Content compressed with deflate algorithm (with or without zlib headers) is
also supported and checked.
tests/coding-test.c