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: 2025-03-15 12:03:33 Functions: 1 1 100.0 %
Branches: 2 6 33.3 %

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * Top contributors (to current version):
       3                 :            :  *   Morgan Deters, Aina Niemetz
       4                 :            :  *
       5                 :            :  * This file is part of the cvc5 project.
       6                 :            :  *
       7                 :            :  * Copyright (c) 2009-2025 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                 :            :  * Divisibility-by-k predicate.
      14                 :            :  */
      15                 :            : 
      16                 :            : #include "util/divisible.h"
      17                 :            : 
      18                 :            : #include "base/check.h"
      19                 :            : #include "base/exception.h"
      20                 :            : 
      21                 :            : using namespace std;
      22                 :            : 
      23                 :            : namespace cvc5::internal {
      24                 :            : 
      25                 :        310 : Divisible::Divisible(const Integer& n) : k(n) {
      26 [ -  + ][ -  + ]:        310 :   Assert(n > 0) << "Divisible predicate must be constructed over positive N";
                 [ -  - ]
      27                 :        310 : }
      28                 :            : 
      29                 :            : }  // namespace cvc5::internal

Generated by: LCOV version 1.14