Open atiti opened 11 years ago
From: evka (GH: EvkaD) Date: Sun Nov 8 11:29:36 2009
Bug fixed. The tool does recognize the two assertions as equal, if the individual propositions appear in the same order. It will give an error, if they are e.g. \result == 10 || \result == 20 || \result == 30 Result = 30 or Result = 20 or Result = 10 (These details require some sort of theorem prover to be checked correctly.)
Here is an example:
jml specification:
/*@ ensures \result ⇐⇒ (e == array[0]
BON Specification:
legal_unit: BOOLEAN → e: INTEGER
Check file(s) messages
Note that : if I have short postcondition as:
legal_ThermSensorType: BOOLEAN → e: INTEGER
Beetlz - BON - JML type checking passed correct.