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

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