//----------------------------------------------------------------------------
#include <iostream.h>
#include "booleanclass.h"
//----------------------------------------------------------------------------
int main(void) {

boolean TrueBoolean(TRUE),
        FalseBoolean(FALSE);

cout << "TRUE & TRUE is     " << TrueBoolean.And(TrueBoolean) << endl;
cout << "TRUE & FALSE is    " << TrueBoolean.And(FalseBoolean) << endl;
cout << "TRUE | FALSE is    " << TrueBoolean.Or(FalseBoolean) << endl;
cout << "FALSE | FALSE is   " << FalseBoolean.Or(FalseBoolean) << endl;
cout << "~ TRUE is          " << TrueBoolean.Not() << endl;
cout << "~ FALSE is         " << FalseBoolean.Not() << endl;
cout << "TRUE XOR TRUE is   " << TrueBoolean.Xor(TrueBoolean) << endl;
cout << "TRUE XOR FALSE is  " << TrueBoolean.Xor(FalseBoolean) << endl;
cout << "TRUE <=> FALSE is  " << TrueBoolean.Equivalent(FalseBoolean) << endl;
cout << "FALSE <=> FALSE is " << FalseBoolean.Equivalent(FalseBoolean) << endl;
cout << "TRUE => TRUE is    " << TrueBoolean.Implies(TrueBoolean) << endl;
cout << "TRUE => FALSE is   " << TrueBoolean.Implies(FalseBoolean) << endl;

return(0);
}
//----------------------------------------------------------------------------
