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. 

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to