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

Re: assertEquals in C

From: Michael B. Allen <mballen@erols.com>
Date: Sat, 23 Mar 2002 05:17:45 -0500
To: "Michael B. Allen" <mballen@erols.com>
Cc: carnold@houston.rr.com, www-dom-ts@w3.org
Message-Id: <20020323051745.69266c86.mballen@erols.com>
On Fri, 22 Mar 2002 16:45:38 -0500
"Michael B. Allen" <mballen@erols.com> wrote:

> > > 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.

*Actually* it's still possible to get to these types so all is going
well. False alarm :~)

-- 
May The Source be with you.
Received on Saturday, 23 March 2002 05:11:36 GMT

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