Skip to content

Commit 551239c

Browse files
author
GBathie
committed
Check formula output after search
1 parent dbcca02 commit 551239c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tests/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ fn test_ltl_search(instance: &str, expected: FormulaTree) {
8080

8181
let f = rebuild_formula(&ltl_res.unwrap(), &ltl_cache);
8282
assert!(f.size() <= expected.size());
83+
let v = f.eval(&instance.traces).accepted_vec();
84+
assert_eq!(&v, &instance.target);
8385
}
8486

8587
/// Converts an array of array of array of ints (yes)

0 commit comments

Comments
 (0)