TS_ASSERT_DIFFERS(TestFlag4::s_id, TestFlag5::s_id);
lastId = attr::LastAttributeId<bool, true>::s_id;
- TS_ASSERT_LESS_THAN(theory::Asserted::s_id, lastId);
TS_ASSERT_LESS_THAN(TestFlag1cd::s_id, lastId);
TS_ASSERT_LESS_THAN(TestFlag2cd::s_id, lastId);
- TS_ASSERT_DIFFERS(theory::Asserted::s_id, TestFlag1cd::s_id);
- TS_ASSERT_DIFFERS(theory::Asserted::s_id, TestFlag2cd::s_id);
TS_ASSERT_DIFFERS(TestFlag1cd::s_id, TestFlag2cd::s_id);
- cout << "A: " << theory::Asserted::s_id << endl;
cout << "1: " << TestFlag1cd::s_id << endl;
cout << "2: " << TestFlag2cd::s_id << endl;
TS_ASSERT( d_satSolver->addClauseCalled() );
}
-void testIte() {
- NodeManagerScope nms(d_nodeManager);
- d_cnfStream->convertAndAssert(
- d_nodeManager->mkNode(
- kind::EQUAL,
- d_nodeManager->mkNode(
- kind::ITE,
- d_nodeManager->mkVar(d_nodeManager->booleanType()),
- d_nodeManager->mkVar(d_nodeManager->integerType()),
- d_nodeManager->mkVar(d_nodeManager->integerType())
- ),
- d_nodeManager->mkVar(d_nodeManager->integerType())
- ), false, false);
-
-}
+// ITEs should be removed before going to CNF
+//void testIte() {
+// NodeManagerScope nms(d_nodeManager);
+// d_cnfStream->convertAndAssert(
+// d_nodeManager->mkNode(
+// kind::EQUAL,
+// d_nodeManager->mkNode(
+// kind::ITE,
+// d_nodeManager->mkVar(d_nodeManager->booleanType()),
+// d_nodeManager->mkVar(d_nodeManager->integerType()),
+// d_nodeManager->mkVar(d_nodeManager->integerType())
+// ),
+// d_nodeManager->mkVar(d_nodeManager->integerType())
+// ), false, false);
+//
+//}
void testNot() {
NodeManagerScope nms(d_nodeManager);