Re: Confusing test failure

Grant Rettke <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
Quoting Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>:

> Grant Rettke wrote:
>> assert_equal ("free_count" , 0, pool.free_count)
>> assert_equal ("busy_count" , 0, pool.busy_count)
>> assert_equal ("count" , 0, pool.count)
>
> OK, I would suggest using `assert_integers_equal' instead
> of `assert_equal'. With newer versions of SmartEiffel
> INTEGER does not conform to ANY anymore, so I wouldn't
> be surprised that the problem be related to that.

Thanks so much, that was the problem!


To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.