Updated the regressions tests that cover full reductions

This commit is contained in:
Benoit Steiner
2015-11-05 14:22:30 -08:00
parent c75a19f815
commit 0d15ad8019
6 changed files with 102 additions and 58 deletions

View File

@@ -14,7 +14,7 @@ static void test_comparison_sugar() {
// make sure we have at least one value == 0
t(0,0,0) = 0;
Tensor<bool,1> b;
Tensor<bool,0> b;
#define TEST_TENSOR_EQUAL(e1, e2) \
b = ((e1) == (e2)).all(); \