GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/smt/smt_mode.cpp Lines: 1 12 8.3 %
Date: 2021-03-22 Branches: 2 12 16.7 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file smt_mode.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andrew Reynolds
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 Enumeration type for the mode of an SmtEngine.
13
 **/
14
15
#include "smt/smt_mode.h"
16
17
#include <iostream>
18
19
namespace CVC4 {
20
21
std::ostream& operator<<(std::ostream& out, SmtMode m)
22
{
23
  switch (m)
24
  {
25
    case SmtMode::START: out << "START"; break;
26
    case SmtMode::ASSERT: out << "ASSERT"; break;
27
    case SmtMode::SAT: out << "SAT"; break;
28
    case SmtMode::SAT_UNKNOWN: out << "SAT_UNKNOWN"; break;
29
    case SmtMode::UNSAT: out << "UNSAT"; break;
30
    case SmtMode::ABDUCT: out << "ABDUCT"; break;
31
    case SmtMode::INTERPOL: out << "INTERPOL"; break;
32
    default: out << "SmtMode!Unknown"; break;
33
  }
34
  return out;
35
}
36
37
26676
}  // namespace CVC4