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.
brag/tests/test-cutter.rkt

13 lines
279 B
Racket

8 years ago
#lang racket/base
(module+ test
(require yaragg/examples/cutter
yaragg/support
rackunit)
;; related to rule-flattening problem
(check-equal?
(parse-to-datum (list "(" "x" "," "x" ")"))
'(top (expr (list "(" (expr "x") "," (expr "x") ")")))))