forq: swap arguments of contains_forq

* spot/twaalgos/forq_contains.hh,
spot/twaalgos/forq_contains.cc (contains_forq): Swap arguments so
they follow the same order as contains().
* tests/python/forq_contains.py: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2023-09-07 16:01:46 +02:00
parent 3861c04581
commit ca4e6c4b48
3 changed files with 5 additions and 6 deletions

View file

@ -23,7 +23,7 @@ from unittest import TestCase
tc = TestCase()
def do_test(subset, superset, expected=True):
result = spot.contains_forq(subset, superset)
result = spot.contains_forq(superset, subset)
truth = spot.contains(superset, subset)
tc.assertTrue(truth == expected)
tc.assertTrue(result == truth)
@ -324,4 +324,3 @@ State: 11 {0}
--END--""")
do_symmetric_test(subset, superset)