LCOV - code coverage report
Current view: top level - buildbot/coverage/build/test/api/cpp - two_solvers.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 7 7 100.0 %
Date: 2024-10-22 11:38:46 Functions: 1 1 100.0 %
Branches: 2 4 50.0 %

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * Top contributors (to current version):
       3                 :            :  *   Aina Niemetz, Morgan Deters, Mathias Preiner
       4                 :            :  *
       5                 :            :  * This file is part of the cvc5 project.
       6                 :            :  *
       7                 :            :  * Copyright (c) 2009-2024 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 <cvc5/cvc5.h>
      17                 :            : 
      18                 :            : #include <sstream>
      19                 :            : 
      20                 :            : using namespace cvc5;
      21                 :            : using namespace std;
      22                 :            : 
      23                 :          1 : int main()
      24                 :            : {
      25                 :          2 :   TermManager tm;
      26                 :          2 :   Solver s1(tm);
      27                 :          2 :   Solver s2(tm);
      28                 :          2 :   Result res1 = s1.checkSatAssuming(tm.mkBoolean(false));
      29                 :          1 :   Result res2 = s2.checkSatAssuming(tm.mkBoolean(false));
      30 [ +  - ][ -  + ]:          1 :   return res1.isUnsat() && res2.isUnsat() ? 0 : 1;
      31                 :            : }

Generated by: LCOV version 1.14