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:
Etienne Renault 2020-05-22 13:13:05 +02:00
parent b1b59d0eae
commit ff48c81198
3 changed files with 11 additions and 5 deletions

View file

@ -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()