Files
cvc5/test/api/python/boilerplate.py
2023-05-09 18:06:18 +00:00

25 lines
824 B
Python

###############################################################################
# Top contributors (to current version):
# Andrew Reynolds, Alex Ozdemir
#
# This file is part of the cvc5 project.
#
# Copyright (c) 2009-2023 by the authors listed in the file AUTHORS
# in the top-level source directory and their institutional affiliations.
# All rights reserved. See the file COPYING in the top-level source
# directory for licensing information.
# #############################################################################
#
# A simple start-up/tear-down test for cvc5.
#
# This simple test just makes sure that the public interface is
# minimally functional. It is useful as a template to use for other
# system tests.
##
import cvc5
slv = cvc5.Solver()
r = slv.checkSatAssuming(slv.mkBoolean(False))
r.isUnsat()