test: add unit test for integer log2 function
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Thu, 6 Jul 2017 14:20:24 +0000 (19:50 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 10 Jul 2017 14:49:11 +0000 (16:49 +0200)
commit05c4345ef5c2c39334d187738bce21c95c33aa82
tree3717ed9a5e1643bec43a2dc8076ae58f7e513be0
parentfcee050aa1d74b3e65ea349f401728ece7cbdc50
test: add unit test for integer log2 function

add a unit testcase for rte_log2_u32.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
test/test/test_common.c