LCOV - code coverage report
Current view: top level - buildbot/coverage/build/src/util - divisible.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 3 100.0 %
Date: 2026-04-25 10:46:27 Functions: 1 1 100.0 %
Branches: 2 6 33.3 %

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * This file is part of the cvc5 project.
       3                 :            :  *
       4                 :            :  * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS
       5                 :            :  * in the top-level source directory and their institutional affiliations.
       6                 :            :  * All rights reserved.  See the file COPYING in the top-level source
       7                 :            :  * directory for licensing information.
       8                 :            :  * ****************************************************************************
       9                 :            :  *
      10                 :            :  * Divisibility-by-k predicate.
      11                 :            :  */
      12                 :            : 
      13                 :            : #include "util/divisible.h"
      14                 :            : 
      15                 :            : #include "base/check.h"
      16                 :            : #include "base/exception.h"
      17                 :            : 
      18                 :            : using namespace std;
      19                 :            : 
      20                 :            : namespace cvc5::internal {
      21                 :            : 
      22                 :        375 : Divisible::Divisible(const Integer& n) : k(n)
      23                 :            : {
      24 [ -  + ][ -  + ]:        375 :   Assert(n > 0) << "Divisible predicate must be constructed over positive N";
                 [ -  - ]
      25                 :        375 : }
      26                 :            : 
      27                 :            : }  // namespace cvc5::internal

Generated by: LCOV version 1.14