Debian Codegraph @

test/api/python/boilerplate.py

raw
1 ###############################################################################
2 # Top contributors (to current version):
3 # Aina Niemetz, Andrew Reynolds, Alex Ozdemir
4 #
5 # This file is part of the cvc5 project.
6 #
7 # Copyright (c) 2009-2025 by the authors listed in the file AUTHORS
8 # in the top-level source directory and their institutional affiliations.
9 # All rights reserved. See the file COPYING in the top-level source
10 # directory for licensing information.
11 # #############################################################################
12 #
13 # A simple start-up/tear-down test for cvc5.
14 #
15 # This simple test just makes sure that the public interface is
16 # minimally functional. It is useful as a template to use for other
17 # system tests.
18 ##
19
20 import cvc5
21
22 tm = cvc5.TermManager()
23 slv = cvc5.Solver(tm)
24 r = slv.checkSatAssuming(tm.mkBoolean(False))
25 r.isUnsat()