test negation of TOP/BOT
This commit is contained in:
parent
c3d9292db9
commit
8760996bba
2 changed files with 6 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue