app/test: add new buffer comparison macros
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 20 Jun 2016 14:40:05 +0000 (15:40 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Jun 2016 20:25:43 +0000 (22:25 +0200)
commitdb4faf469816d6649853b78775593a0b246fafb9
treeff4b782237065e6920dd18b2dec4fdad2f7ef748
parent2773c86d061a11a920a00d96fe98634956782250
app/test: add new buffer comparison macros

In order to compare buffers with length and offset in bits,
new macros have been created, which use the previous compare function
to compare full bytes and then, compare first and last bytes of
each buffer separately.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
app/test/test.h