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.
|
|
|
#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-runtime-path charter-italic-path "../pitfall/test/assets/charter-italic.ttf")
|
|
|
|
(define-runtime-path charter-directory-path "charter-directory.rktd")
|
|
|
|
(define-runtime-path charter-italic-directory-path "charter-italic-directory.rktd")
|
|
|
|
|
|
|
|
(define-macro (test-module . EXPRS)
|
|
|
|
#`(module+ test
|
|
|
|
(require #,(datum->syntax caller-stx 'rackunit))
|
|
|
|
. EXPRS))
|