Commit Graph

12 Commits

Author SHA1 Message Date
Patrick Lühne 0ce4e54d1a
Fix precedence of interval operator
The interval operator has a lower precedence than, for example, binary
operations. This was unexpected and incorrectly implemented in the
output functions. For now, this is fixed by enclosing intervals in
parentheses to avoid misinterpretations.

The existing unit tests are adjusted to the updated output format.
2018-05-04 17:06:28 +02:00
Patrick Lühne 3393f84a4a
Add unit tests covering equality checks
The equality check is used within a simplification rule that turns
biconditionals into simple implications in special cases. This adds some
unit tests that cover this simplification rule as well as the equality
check implementation.
2018-05-03 16:57:19 +02:00
Patrick Lühne 0285c1cbbb
Renamed internal variables for clarity. 2017-06-06 01:44:44 +02:00
Patrick Lühne 1917f18b6a
Added back simplification support. 2017-05-30 04:06:56 +02:00
Patrick Lühne 1c925d661b
Major refactoring to uniquely link variables to their declarations (breaks simplification and completion). 2017-05-30 03:56:35 +02:00
Patrick Lühne 5948d30e5c
Refactored implementation of completion. 2017-04-10 16:32:12 +02:00
Patrick Lühne 2ae5cfbfa6
Enforcing unit tests not to throw exceptions. 2017-04-08 19:59:59 +02:00
Patrick Lühne 350f31d0fd
Added simple unit tests for completion. 2017-04-08 18:47:06 +02:00
Patrick Lühne ac7a0f6d4c
Fixed typo. 2017-04-08 18:42:36 +02:00
Patrick Lühne 8ddf068eeb
Removed unnecessary include directive. 2017-04-08 18:38:37 +02:00
Patrick Lühne c8cd6fec48
Added test case for incorrectly simplified rules with comparison. 2017-03-28 17:10:38 +02:00
Patrick Lühne 32e6301b5e
Added some unit tests for the simplification procedure. 2017-03-23 15:14:32 +01:00