GCC Code Coverage Report
Directory: . Exec Total Coverage
File: test/unit/theory/theory_bv_int_blaster_white.cpp Lines: 1 1 100.0 %
Date: 2021-08-17 Branches: 2 4 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Yoni Zohar
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
 * Unit tests for bit-vector solving via integers.
14
 */
15
16
#include <iostream>
17
#include <memory>
18
#include <vector>
19
20
#include "test_smt.h"
21
#include "theory/bv/int_blaster.h"
22
#include "util/bitvector.h"
23
#include "util/rational.h"
24
25
namespace cvc5 {
26
27
using namespace kind;
28
using namespace theory;
29
30
namespace test {
31
32
class TestTheoryWhiteBvIntblaster : public TestSmtNoFinishInit
33
{
34
 protected:
35
  void SetUp() override
36
  {
37
    TestSmtNoFinishInit::SetUp();
38
    d_smtEngine->setOption("produce-models", "true");
39
    d_smtEngine->finishInit();
40
    d_true = d_nodeManager->mkConst<bool>(true);
41
    d_one = d_nodeManager->mkConst<Rational>(Rational(1));
42
  }
43
  Node d_true;
44
  Node d_one;
45
};
46
}  // namespace test
47
5
}  // namespace cvc5