GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/arithvar.cpp Lines: 4 4 100.0 %
Date: 2021-03-22 Branches: 3 6 50.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file arithvar.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   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 "theory/arith/arithvar.h"
19
#include <limits>
20
#include <set>
21
22
namespace CVC4 {
23
namespace theory {
24
namespace arith {
25
26
const ArithVar ARITHVAR_SENTINEL = std::numeric_limits<ArithVar>::max();
27
28
82529
bool debugIsASet(const std::vector<ArithVar>& variables){
29
165058
  std::set<ArithVar> asSet(variables.begin(), variables.end());
30
165058
  return asSet.size() == variables.size();
31
}
32
33
}/* CVC4::theory::arith namespace */
34
}/* CVC4::theory namespace */
35
26676
}/* CVC4 namespace */