twacube_to_twa: allows use of existing BDD_dict
* spot/twacube_algos/convert.cc, spot/twacube_algos/convert.hh: Here. * tests/core/twacube.cc: Test it.
This commit is contained in:
parent
b1b59d0eae
commit
ff48c81198
3 changed files with 11 additions and 5 deletions
|
|
@ -44,8 +44,10 @@ static void checkit(std::string f_str)
|
|||
auto propcube = spot::twa_to_twacube(prop);
|
||||
assert(spot::are_equivalent(propcube, prop));
|
||||
|
||||
auto propcubeback = spot::twacube_to_twa(propcube);
|
||||
auto propcubeback = spot::twacube_to_twa(propcube, dict);
|
||||
assert(spot::are_equivalent(propcube, propcubeback));
|
||||
|
||||
assert(spot::are_equivalent(prop, propcubeback));
|
||||
}
|
||||
|
||||
int main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue