2021-04-12 12:31:43 -07:00
|
|
|
/******************************************************************************
|
|
|
|
|
* Top contributors (to current version):
|
2024-03-12 09:35:09 -07:00
|
|
|
* Aina Niemetz, Morgan Deters, Mathias Preiner
|
2021-04-12 12:31:43 -07:00
|
|
|
*
|
|
|
|
|
* This file is part of the cvc5 project.
|
|
|
|
|
*
|
2025-01-23 09:54:20 -08:00
|
|
|
* Copyright (c) 2009-2025 by the authors listed in the file AUTHORS
|
2021-04-12 12:31:43 -07:00
|
|
|
* 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 test of multiple SmtEngines.
|
|
|
|
|
*/
|
2012-07-16 15:53:22 +00:00
|
|
|
|
2023-03-07 15:39:29 -08:00
|
|
|
#include <cvc5/cvc5.h>
|
|
|
|
|
|
2012-07-16 15:53:22 +00:00
|
|
|
#include <sstream>
|
|
|
|
|
|
2022-03-29 16:23:01 -07:00
|
|
|
using namespace cvc5;
|
2012-07-16 15:53:22 +00:00
|
|
|
using namespace std;
|
|
|
|
|
|
2024-03-08 11:39:13 -08:00
|
|
|
int main()
|
|
|
|
|
{
|
|
|
|
|
TermManager tm;
|
|
|
|
|
Solver s1(tm);
|
|
|
|
|
Solver s2(tm);
|
2024-07-31 01:17:54 -07:00
|
|
|
Result res1 = s1.checkSatAssuming(tm.mkBoolean(false));
|
|
|
|
|
Result res2 = s2.checkSatAssuming(tm.mkBoolean(false));
|
|
|
|
|
return res1.isUnsat() && res2.isUnsat() ? 0 : 1;
|
2012-07-16 15:53:22 +00:00
|
|
|
}
|