* Add support for product in ALGO_REDUCE
This commit is contained in:
1 parent
d438d089fb
commit
5b8750ee2a
3 files changed
+10
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user