1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Andres Noetzli, Morgan Deters, Aina Niemetz |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 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 test of multiple SmtEngines. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include <iostream> |
17 |
|
#include <sstream> |
18 |
|
|
19 |
|
#include "api/cpp/cvc5.h" |
20 |
|
|
21 |
|
using namespace cvc5::api; |
22 |
|
using namespace std; |
23 |
|
|
24 |
1 |
int main() { |
25 |
2 |
Solver s1; |
26 |
2 |
Solver s2; |
27 |
2 |
Result r = s1.checkEntailed(s1.mkBoolean(true)); |
28 |
2 |
Result r2 = s2.checkEntailed(s2.mkBoolean(true)); |
29 |
1 |
return r.isEntailed() && r2.isEntailed() ? 0 : 1; |
30 |
3 |
} |
31 |
|
|