/*++
Copyright (c) 2006 Microsoft Corporation

Module Name:

    lbool.cpp

Abstract:

    <abstract>

Author:

    Leonardo de Moura (leonardo) 2008-02-08.

Revision History:

--*/
#include "util/lbool.h"

std::ostream & operator<<(std::ostream & out, lbool b) {
    switch(b) {
    case l_false: return out << "l_false";
    case l_true:  return out << "l_true";
    default:      return out << "l_undef";
    }
}

char const * to_sat_str(lbool l) {
    switch (l) {
    case l_false: return "unsatisfiable";
    case l_true:  return "satisfiable";
    default:      return "unknown";
    }
}

