June 22, 2012
7:38 a.m.
me neither. a=b is clear enough for me. If I want more detail, I add a description. but perhaps I'm loosing something that I'm not seeing. Esteban On Jun 22, 2012, at 9:35 AM, Stéphane Ducasse wrote:
I never understood the problems :)
Stef
On Jun 22, 2012, at 3:53 AM, Sean P. DeNigris wrote:
This pattern is common in our tests: "self assert: a = b."
I much prefer "self assert: a equals: b."
It makes it easier to diagnose failing tests, especially if a or b are expressions with side-effects. Do you agree?
Sean
-- View this message in context: http://forum.world.st/assert-equals-tp4636050.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.