GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/util/divisible.cpp Lines: 4 4 100.0 %
Date: 2021-03-23 Branches: 5 14 35.7 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file divisible.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Morgan Deters, Tim King
6
 ** This file is part of the CVC4 project.
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.\endverbatim
11
 **
12
 ** \brief [[ Add one-line brief description here ]]
13
 **
14
 ** [[ Add lengthier description here ]]
15
 ** \todo document this file
16
 **/
17
18
#include "util/divisible.h"
19
20
#include "base/check.h"
21
#include "base/exception.h"
22
23
using namespace std;
24
25
namespace CVC4 {
26
27
8
Divisible::Divisible(const Integer& n) : k(n) {
28
8
  PrettyCheckArgument(n > 0, n, "Divisible predicate must be constructed over positive N");
29
8
}
30
31
26685
}/* CVC4 namespace */