* Add support for product in ALGO_REDUCE

This commit is contained in:
Patrick Pelissier committed 2020-04-10 08:28:16 +02:00
1 parent d438d089fb
commit 5b8750ee2a
3 files changed
+10 -1

No files matched your search

+2
View File
@@ -502,6 +502,8 @@ static void test_extract(void)
assert (dst == 0);
ALGO_REDUCE(dst, a, ARRAY_OPLIST(array_int), or);
assert (dst == 127);
ALGO_REDUCE(dst, a, ARRAY_OPLIST(array_int), product);
assert (dst == 0);
array_int_clear(a);
list_int_clear(l);