LCOV - code coverage report
Current view: top level - buildbot/coverage/build/test/api/cpp/issues - proj-issue414.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 10 100.0 %
Date: 2024-09-24 10:47:28 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * Top contributors (to current version):
       3                 :            :  *   Aina Niemetz
       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                 :            :  * Test for project issue #414.
      14                 :            :  */
      15                 :            : #include <cvc5/cvc5.h>
      16                 :            : 
      17                 :            : #include <cassert>
      18                 :            : 
      19                 :            : using namespace cvc5;
      20                 :            : 
      21                 :          1 : int main(void)
      22                 :            : {
      23                 :          2 :   TermManager tm;
      24                 :          2 :   Solver solver(tm);
      25                 :            : 
      26                 :          2 :   Sort s2 = tm.getRealSort();
      27                 :          2 :   Term t1 = tm.mkConst(s2, "_x0");
      28                 :          2 :   Term t16 = tm.mkTerm(Kind::PI);
      29                 :          5 :   Term t53 = tm.mkTerm(Kind::SUB, {t1, t16});
      30                 :          3 :   Term t54 = tm.mkTerm(Kind::SECANT, {t53});
      31                 :          1 :   solver.simplify(t54);
      32                 :          1 : }

Generated by: LCOV version 1.14