Add getCategories and getFunctions to Python bindings, but don't know how to handle errors?

This commit is contained in:
John J. Camilleri
2021-08-30 22:26:22 +02:00
parent 50e54d131b
commit b7bd5a4561
2 changed files with 124 additions and 95 deletions

View File

@@ -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"]