June 29, 2009
7:50 p.m.
Hi cyrille
Hi,
I'm trying to test all subclasses of Dictionary
cool.
and I just find a specific behavior for MethodDictionary :
-> #add: return the association that has been added except for SmallDictionary for which #add: return the value of the association.
I do not know. Does anybody know?
Is there a reason for such an implementaion?
probably lack of test reuse :) this is a good example showing that reusing tests using traits is a good way to offer consistent behavior.