tests for bitmaps as images in universe
This commit is contained in:
parent
0010a8ebae
commit
f944251099
|
@ -0,0 +1,9 @@
|
|||
#lang racket
|
||||
|
||||
(require pict (only-in 2htdp/universe big-bang on-tick to-draw) rackunit)
|
||||
|
||||
(check-equal?
|
||||
103
|
||||
(big-bang 100
|
||||
[on-tick add1 1/28 3]
|
||||
[to-draw (lambda (w) (pict->bitmap (circle w)))]))
|
|
@ -10,6 +10,7 @@ run() {
|
|||
|
||||
cd tests
|
||||
|
||||
run bitmap-as-image-in-universe.rkt
|
||||
run key-error.rkt
|
||||
run run-movie.rkt
|
||||
run bad-draw.rkt
|
||||
|
|
Loading…
Reference in New Issue
Block a user