1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Morgan Deters, Andres Noetzli, 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 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 |
|
#include <iostream> |
21 |
|
#include <sstream> |
22 |
|
|
23 |
|
#include "api/cpp/cvc5.h" |
24 |
|
|
25 |
|
using namespace cvc5::api; |
26 |
|
using namespace std; |
27 |
|
|
28 |
1 |
int main() { |
29 |
2 |
Solver slv; |
30 |
2 |
Result r = slv.checkEntailed(slv.mkBoolean(true)); |
31 |
1 |
return r.isEntailed() ? 0 : 1; |
32 |
3 |
} |
33 |
|
|