chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] spock tests


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] spock tests
Date: Fri, 07 Sep 2012 19:13:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

On Sat, 8 Sep 2012 00:40:46 +0200 Shawn Rutledge <address@hidden> wrote:

> On 8 September 2012 00:26, Mario Domenech Goulart
> <address@hidden> wrote:
>> On Fri, 07 Sep 2012 18:18:05 -0400 Mario Domenech Goulart <address@hidden> 
>> wrote:
>>> I think the wrong example is:
>>>
>>>     (string->symbol #t) ==> #t
>>>     BUT EXPECTED #f
>>>
>>> On all browsers I get a warning like:
>>>
>>>     ReferenceError: ____25min is not defined
>
> Oops I get those too.  After seeing "1 wrong" I searched for "wrong"
> and stopped there.  ;-)

Now I see the tests are divided into sections.  The one which contains
156 correct examples and one wrong is the last.

I get the following failures:

(not (eq? (quote bitBlt) (string->symbol "bitBlt"))) FAIL
(not (string->number "1e3" 16)) FAIL
(eq? car car) FAIL
(string->symbol #t) ==> #t BUT EXPECTED #f
(#<procedure> 34 5 7 38 6) ==> NaN BUT EXPECTED 38
(every-of #t) => #f ; *** wrong ***, desired result: => #t

(Just checked Firefox and Chromium this time)

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]