wrapped in new testing macro
This commit is contained in:
parent
4ba0451caf
commit
a96b45be9c
|
@ -1,9 +1,10 @@
|
|||
#lang racket
|
||||
|
||||
(require pict (only-in 2htdp/universe big-bang on-tick to-draw) rackunit)
|
||||
(require pict (only-in 2htdp/universe big-bang on-tick to-draw) "test-aux.rkt")
|
||||
|
||||
(check-equal?
|
||||
103
|
||||
(big-bang 100
|
||||
[on-tick add1 1/28 3]
|
||||
[to-draw (lambda (w) (pict->bitmap (circle w)))]))
|
||||
(testing
|
||||
(check-equal?
|
||||
103
|
||||
(big-bang 100
|
||||
[on-tick add1 1/28 3]
|
||||
[to-draw (lambda (w) (pict->bitmap (circle w)))])))
|
||||
|
|
Loading…
Reference in New Issue
Block a user