assertEquals in C

> > o The assertions assume certain type evaluations can be made like
> >   assertEquals might warrant == or strcmp. 
> 
> Since the transform is aware of the types of the arguments, it is pretty
> easy for the transform to produce assertEqualsString, assertEqualInt, etc.
> I'd prefer that over trying to inline the comparison with an strcmp.

Actually it's not aware of the argument types.

-- 
May The Source be with you.

Received on Friday, 22 March 2002 16:39:19 UTC