summaryrefslogtreecommitdiff
path: root/test/unit/theory/theory_black.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/theory/theory_black.cpp')
-rw-r--r--test/unit/theory/theory_black.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/theory/theory_black.cpp b/test/unit/theory/theory_black.cpp
index 766d696a1..d8ae8e468 100644
--- a/test/unit/theory/theory_black.cpp
+++ b/test/unit/theory/theory_black.cpp
@@ -53,13 +53,12 @@ TEST_F(TestTheoryBlack, array_const)
arr = d_nodeManager->mkNode(STORE, storeAll, zero, one);
ASSERT_TRUE(arr.isConst());
Node arr2 = d_nodeManager->mkNode(STORE, arr, one, zero);
- ASSERT_FALSE(arr2.isConst());
arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());
arr2 = d_nodeManager->mkNode(STORE, arr, one, one);
+ arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());
arr2 = d_nodeManager->mkNode(STORE, arr, zero, one);
- ASSERT_FALSE(arr2.isConst());
arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback