python: add get_name & set_name for automata
* wrap/python/spot_impl.i (get_name, set_name): New methods for twa. * wrap/python/tests/remfin.py: Test them. * wrap/python/ajax/spotcgi.in: Use set_name(). * NEWS: Mention it.
This commit is contained in:
parent
176c9e2e17
commit
43a5187ab4
4 changed files with 26 additions and 0 deletions
|
|
@ -35,3 +35,7 @@ State: 0
|
|||
State: 1
|
||||
[t] 1
|
||||
--END--""")
|
||||
|
||||
assert(aut.get_name() == None)
|
||||
aut.set_name("test me")
|
||||
assert(aut.get_name() == "test me")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue