forked from GitHub/gf-core
Add PGF.writeToFile. Add categoryProbability, but it seems pgf_category_prob always returns 0.
This commit is contained in:
@@ -77,6 +77,12 @@ def test_newNGF_existing(NGF):
|
||||
with pytest.raises(FileExistsError):
|
||||
newNGF("empty", "./basic.ngf")
|
||||
|
||||
# writePGF
|
||||
|
||||
def test_writePGF(PGF):
|
||||
PGF.writeToFile("./copy.pgf")
|
||||
os.remove("./copy.pgf") # cleanup
|
||||
|
||||
# abstract syntax
|
||||
|
||||
def test_abstractName(PGF):
|
||||
|
||||
Reference in New Issue
Block a user