mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-14 15:29:31 -06:00
Add getCategories and getFunctions to Python bindings, but don't know how to handle errors?
This commit is contained in:
@@ -68,3 +68,10 @@ def test_readNGF(NGF):
|
||||
|
||||
def test_abstractName(PGF):
|
||||
assert PGF.abstractName == "basic"
|
||||
|
||||
def test_categories(PGF):
|
||||
assert PGF.categories == ["Float","Int","N","P","S","String"]
|
||||
|
||||
def test_functions(PGF):
|
||||
assert PGF.functions == ["c","ind","s","z"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user