test negation of TOP/BOT

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-02-27 22:25:59 -08:00
parent c3d9292db9
commit 8760996bba
2 changed files with 6 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class _Top(AST):
return ""
def __invert__(self):
return Bot()
return BOT
class _Bot(AST):
@ -47,7 +47,7 @@ class _Bot(AST):
return ""
def __invert__(self):
return Top()
return TOP
TOP = _Top()
BOT = _Bot()