chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] spock tests


From: Carl Douglas
Subject: Re: [Chicken-users] spock tests
Date: Sat, 8 Sep 2012 09:47:51 +1000

iPhone 4 v5.1.1 

Errors copy pasted below:

=================================== library-test.js

(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

(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

correct examples : 156
wrong examples : 
1


The canvas demo that draws spirals works.

image.png


Thanks!


On 8/09/2012, at 8:01, Felix <address@hidden> wrote:

Hello!

There has been a new version of Spock (0.9) (that Scheme->JS compiler
thingy) that uses a slightly changed unwinding strategy ("return"
instead of "throw"), which promises better compatibility with stupid
browsers and flaky JS engines.

If you have a minute, please point your browser to

 http://www.call-with-current-continuation.org/spock/test.html

and

 http://www.call-with-current-continuation.org/spock/threads.html

The former takes quite a while to run, the latter needs canvas
support.  I tested with Conkeror 0.9.1 and Firefox 3.6.3, which seem
to run both tests OK. I would be very interested to see whether these
work or fail for you, and on which browsers (IE in particular).


cheers,
felix

_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users

reply via email to

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