W3C home > Mailing lists > Public > www-dom-ts@w3.org > March 2002

assertEquals in C

From: Michael B. Allen <mballen@erols.com>
Date: Fri, 22 Mar 2002 16:45:38 -0500
To: "Curt Arnold" <carnold@houston.rr.com>
Cc: www-dom-ts@w3.org
Message-Id: <20020322164538.5902fa28.mballen@erols.com>
> > 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT