2021-04-12 12:31:43 -07:00
|
|
|
/******************************************************************************
|
|
|
|
|
* Top contributors (to current version):
|
2022-04-05 13:38:57 -07:00
|
|
|
* Morgan Deters, Andrew Reynolds, Andres Noetzli
|
2021-04-12 12:31:43 -07:00
|
|
|
*
|
|
|
|
|
* This file is part of the cvc5 project.
|
|
|
|
|
*
|
2022-04-05 13:38:57 -07:00
|
|
|
* Copyright (c) 2009-2022 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
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
|
2021-04-05 19:31:28 -07:00
|
|
|
#include "api/cpp/cvc5.h"
|
2012-07-16 15:53:22 +00:00
|
|
|
|
2022-03-29 16:23:01 -07:00
|
|
|
using namespace cvc5;
|
2012-07-16 15:53:22 +00:00
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
int main() {
|
2020-06-29 15:35:44 -07:00
|
|
|
Solver s1;
|
|
|
|
|
Solver s2;
|
2022-03-14 13:29:30 -05:00
|
|
|
Result r = s1.checkSatAssuming(s1.mkBoolean(false));
|
|
|
|
|
Result r2 = s2.checkSatAssuming(s2.mkBoolean(false));
|
|
|
|
|
return r.isUnsat() && r2.isUnsat() ? 0 : 1;
|
2012-07-16 15:53:22 +00:00
|
|
|
}
|
|
|
|
|
|