tests: Add tests for mpi_cmp.
authorWerner Koch <wk@gnupg.org>
Fri, 25 Oct 2013 09:43:31 +0000 (11:43 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 25 Oct 2013 09:43:31 +0000 (11:43 +0200)
commit6c6d4810927de7310ae7bac61b4ff5467d7cb485
tree8c48343121e95143bbeb59744f459548daed1d5f
parentc630fd71b336eb9209e914d24dc1e26a34521882
tests: Add tests for mpi_cmp.

* tests/mpitests.c (die): Modernize.
(fail): New.
(test_opaque, test_add, test_sub, test_mul): Use gcry_log_xx
(main): Return error count.
(test_cmp): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/mpitests.c