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.
15 lines
357 B
Racket
15 lines
357 B
Racket
6 years ago
|
#lang racket/base
|
||
|
|
||
|
(require brag/examples/start-and-atok
|
||
|
brag/support
|
||
|
rackunit)
|
||
|
|
||
|
;; make sure that "start" and "atok" work as terminals.
|
||
|
|
||
|
(check-equal? (parse-to-datum (list "start")) '(top "start"))
|
||
|
(check-equal? (parse-to-datum (list "atok")) '(top "atok"))
|
||
|
(check-equal? (parse-to-datum (list "start" "atok")) '(top "start" "atok"))
|
||
|
|
||
|
|
||
|
|