*/
BAG_DUPLICATE_REMOVAL,
/**
- * The bag of the single element given as a parameter.
+ * Construct a bag with the given element and given multiplicity.
*
* Parameters:
- * - 1: Single element
+ * - 1: The element
+ * - 2: The multiplicity of the element.
*
* Create with:
- * - `Solver::mkTerm(Kind kind, const Term& child) const`
+ * - `Solver::mkTerm(Kind kind, const Term& child, const Term& child) const`
+ * - `Solver::mkTerm(Kind kind, const std::vector<Term>& children) const`
*/
BAG_MAKE,
/**
// mkTerm(Kind kind, Term child) const
ASSERT_NO_THROW(d_solver.mkTerm(NOT, d_solver.mkTrue()));
+ ASSERT_NO_THROW(
+ d_solver.mkTerm(BAG_MAKE, d_solver.mkTrue(), d_solver.mkInteger(1)));
ASSERT_THROW(d_solver.mkTerm(NOT, Term()), CVC5ApiException);
ASSERT_THROW(d_solver.mkTerm(NOT, a), CVC5ApiException);
ASSERT_THROW(slv.mkTerm(NOT, d_solver.mkTrue()), CVC5ApiException);