Commit 5c296a4
committed
Add unit tests for Tseitin CNF conversion.
We compare the results using the Tseitin transformation with the results of a
conversion via expansion of the formula (using distributive laws), e.g.,
```
+-------+
|Formula|
+---+---+
|
+-----------+-----------+
| |
v v
+---------+ +-------+
|Expansion| |Tseitin|
+----+----+ +---+---+
| +-----+ |
+------->| =?= |<-------+
+-----+
```
both methods should deliver the same results (i.e., models).1 parent cb272fe commit 5c296a4
File tree
1 file changed
+555
-0
lines changed- test/junit/scala/tools/nsc/transform/patmat
1 file changed
+555
-0
lines changed
0 commit comments