start test suite for file/gif
This test belongs in a "draw-test" package, which doesn't exist yet, because the old drawing tests also rely on a GUI; I'll fix that eventually.
This commit is contained in:
parent
a5d55ff817
commit
a2152d5666
10
gui-test/tests/gracket/gif.rkt
Normal file
10
gui-test/tests/gracket/gif.rkt
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang racket/base
|
||||
(require file/gif
|
||||
rackunit)
|
||||
|
||||
(define g (gif-start (open-output-bytes) 10 10 0 #f))
|
||||
(check-equal? #t (gif-stream? g))
|
||||
(check-equal? #t (image-ready-gif-stream? g))
|
||||
(check-equal? #t (image-or-control-ready-gif-stream? g))
|
||||
(check-equal? #t (empty-gif-stream? g))
|
||||
|
Loading…
Reference in New Issue
Block a user