Branch data Line data Source code
1 : : /****************************************************************************** 2 : : * This file is part of the cvc5 project. 3 : : * 4 : : * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS 5 : : * in the top-level source directory and their institutional affiliations. 6 : : * All rights reserved. See the file COPYING in the top-level source 7 : : * directory for licensing information. 8 : : * **************************************************************************** 9 : : * 10 : : * A simple test of multiple SmtEngines. 11 : : */ 12 : : 13 : : #include <cvc5/cvc5.h> 14 : : 15 : : #include <sstream> 16 : : 17 : : using namespace cvc5; 18 : : using namespace std; 19 : : 20 : 1 : int main() 21 : : { 22 : 1 : TermManager tm; 23 : 1 : Solver s1(tm); 24 : 1 : Solver s2(tm); 25 : 1 : Result res1 = s1.checkSatAssuming(tm.mkBoolean(false)); 26 : 1 : Result res2 = s2.checkSatAssuming(tm.mkBoolean(false)); 27 [ + - ][ - + ]: 1 : return res1.isUnsat() && res2.isUnsat() ? 0 : 1; 28 : 1 : }