Work in progress

This commit is contained in:
2020-04-27 19:30:25 +02:00
parent ff17c60cd1
commit 15d0d2b76c
6 changed files with 1184 additions and 157 deletions

View File

@@ -1,5 +1,23 @@
use super::terms::*;
impl std::fmt::Debug for crate::ComparisonOperator
{
fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result
{
let operator_symbol = match self
{
Self::Less => "<",
Self::LessOrEqual => "<=",
Self::Greater => ">",
Self::GreaterOrEqual => ">=",
Self::Equal => "=",
Self::NotEqual => "!=",
};
write!(formatter, "{}", operator_symbol)
}
}
impl std::fmt::Debug for crate::ImplicationDirection
{
fn fmt(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result