product: raise an exception if the dict are different

Fixes #132.

* python/spot.py (translate): Allow changing the dictionary.
* tests/python/prodexpt.py: New file.
* tests/Makefile.am: Add it.
* spot/twa/twaproduct.cc, spot/twaalgos/product.cc: Add them.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2016-01-23 21:24:53 +01:00
parent 78fd7beaaf
commit c4e9083f4e
6 changed files with 55 additions and 6 deletions

View file

@ -302,6 +302,7 @@ TESTS_python = \
python/optionmap.py \
python/parsetgba.py \
python/piperead.ipynb \
python/prodexpt.py \
python/product.ipynb \
python/randaut.ipynb \
python/randgen.py \