Re: [A3] IfExpression, IfElseExpression

From: Anja Karl <akarl ***AT***>
Date: Tue, 29 Nov 2016 13:45:00 +0100
Subject: Re: [A3] IfExpression, IfElseExpression
Organization: Technische Universitaet Graz
Message-id: <o1jt8c$4ua$>
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
References: <o1i5hq$c6c$>
Am 28.11.2016 um 21:54 schrieb davcem:

- Within the todo section of IfExpression and IfElseExpression there are
the hints, that we should use the expressions isEqual and print.
For the different parts to compare (precondition, precondition block
aso...) the isEqual would not be sufficient. Are we allowed to change
the conditions to be compare (e.g. pre + condition equals precondition

- In general: Should the hints within the todo section be sufficient?

Yours, dAvid

for every comparison but pre-post (in if without else) isEqual should be sufficient. For this special case you will need the isStronger method.