mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 22:09:32 -06:00
Work in progress with marshalling in Python bindings, trying to get Type_str to work without segfaulting
This commit is contained in:
@@ -103,6 +103,9 @@ def test_readType_inequality_1():
|
||||
def test_readType_inequality_2():
|
||||
assert pgf.readType("A -> B") != pgf.readType("B->B")
|
||||
|
||||
def test_Type_str_1():
|
||||
assert str(pgf.readType("A-> B")) == "A -> B"
|
||||
|
||||
def test_functionType_1(PGF):
|
||||
assert PGF.functionType("z") == pgf.readType("N")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user