TNode n,
bool check)
{
- Assert(n.getKind() == kind::BITVECTOR_ROTATE_LEFT);
+ Assert(n.getKind() == kind::BITVECTOR_ROTATE_LEFT_OP);
return nodeManager->builtinOperatorType();
}
}; /* class BitVectorRotateLeftOpTypeRule */
TNode n,
bool check)
{
- Assert(n.getKind() == kind::BITVECTOR_ROTATE_RIGHT);
+ Assert(n.getKind() == kind::BITVECTOR_ROTATE_RIGHT_OP);
return nodeManager->builtinOperatorType();
}
}; /* class BitVectorRotateRightOpTypeRule */
// mkOpTerm(Kind kind, uint32_t arg)
TS_ASSERT_THROWS_NOTHING(d_solver->mkOpTerm(DIVISIBLE_OP, 1));
+ TS_ASSERT_THROWS_NOTHING(d_solver->mkOpTerm(BITVECTOR_ROTATE_LEFT_OP, 1));
+ TS_ASSERT_THROWS_NOTHING(d_solver->mkOpTerm(BITVECTOR_ROTATE_RIGHT_OP, 1));
TS_ASSERT_THROWS(d_solver->mkOpTerm(BITVECTOR_EXTRACT_OP, 1),
CVC4ApiException&);