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:
Matthew Flatt 2015-06-17 09:31:42 +08:00
parent a5d55ff817
commit a2152d5666

View 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))