You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
386 B
Racket
12 lines
386 B
Racket
8 years ago
|
#lang racket/base
|
||
|
(require (for-syntax racket/base) racket/runtime-path br/define)
|
||
|
(provide (all-defined-out))
|
||
|
|
||
|
(define index? (λ (x) (and (number? x) (integer? x) (not (negative? x)))))
|
||
|
|
||
|
(define-runtime-path charter-path "../pitfall/test/assets/Charter.ttf")
|
||
|
|
||
|
(define-macro (test-module . EXPRS)
|
||
|
#`(module+ test
|
||
|
(require #,(datum->syntax caller-stx 'rackunit))
|
||
|
. EXPRS))
|