diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-22 19:20:54 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-08-25 22:24:01 -0700 |
commit | cb844328322fd7d9f4dafb58b322257a70b347e6 (patch) | |
tree | 86a01d45bde34a6801b9f997ed1b6a7adba84754 /src/test/ao_int64_test.c | |
parent | 5ccd902d0fd2adc40c72982babb60fac4da6a087 (diff) |
altos: Add 64-bit subtraction
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test/ao_int64_test.c')
-rw-r--r-- | src/test/ao_int64_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ao_int64_test.c b/src/test/ao_int64_test.c index 4c88b1a1..c26a63b0 100644 --- a/src/test/ao_int64_test.c +++ b/src/test/ao_int64_test.c @@ -65,6 +65,10 @@ do_test(int trial, int64_t a, int64_t b) test_a(+, ao_plus64, a, b, &ao_a, &ao_b); test_b(+, ao_plus64, a, b, &ao_a, &ao_b); test_x(+, ao_plus64, a, b, &ao_a, &ao_b); + test(-, ao_minus64, a, b, &ao_a, &ao_b); + test_a(-, ao_minus64, a, b, &ao_a, &ao_b); + test_b(-, ao_minus64, a, b, &ao_a, &ao_b); + test_x(-, ao_minus64, a, b, &ao_a, &ao_b); test(*, ao_mul64_32_32,(int64_t) (int32_t) a, (int32_t) b, (int32_t) a, (int32_t) b); test(*, ao_mul64, a, b, &ao_a, &ao_b); test_a(*, ao_mul64, a, b, &ao_a, &ao_b); |