[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] spock tests
From: |
Andy Bennett |
Subject: |
Re: [Chicken-users] spock tests |
Date: |
Sat, 08 Sep 2012 14:54:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 |
On 08/09/12 14:49, Andy Bennett wrote:
> Hi,
>
> I have Iceweasel (Firefox) 10.0.7 from Debian Wheezy (Testing).
>
>
>> http://www.call-with-current-continuation.org/spock/test.html
>
> (eq? car car) FAIL
>
> (not (eq? (quote bitBlt) (string->symbol "bitBlt"))) FAIL
>
> (not (string->number "1e3" 16)) FAIL
>
> tests succeded: 204
> tests failed: 3
> total number of tests: 207
I too have suffered some inattention to details:
(string->symbol #t) ==> #t
BUT EXPECTED #f
(#<procedure> 34 5 7 38 6) ==> NaN
BUT EXPECTED 38
Map is call/cc safe, but probably not tail recursive or inefficient.
(every-of #t)
=> #f ; *** wrong ***, desired result:
=> #t
correct examples : 156
wrong examples : 1
Regards,
@ndy
--
address@hidden
http://www.ashurst.eu.org/
0x7EBA75FF
- Re: [Chicken-users] spock tests, (continued)
Re: [Chicken-users] spock tests, Carl Douglas, 2012/09/07
Re: [Chicken-users] spock tests, Felix, 2012/09/08
Re: [Chicken-users] spock tests, Andy Bennett, 2012/09/08
- Re: [Chicken-users] spock tests,
Andy Bennett <=