Skip to content

Commit 535ad4d

Browse files
committed
crook
1 parent 272988a commit 535ad4d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

iniquity-plus/correct.rkt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#lang racket
2+
(provide check-compiler)
3+
(require rackunit)
4+
(require "interp-io.rkt")
5+
(require "exec-io.rkt")
6+
;; ClosedExpr String -> Void
7+
(define (check-compiler e i)
8+
(check-equal? (interp/io e i)
9+
(exec/io e i)))
10+

knock-plus/correct.rkt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#lang racket
2+
(provide check-compiler)
3+
(require rackunit)
4+
(require "interp-io.rkt")
5+
(require "exec-io.rkt")
6+
;; ClosedExpr String -> Void
7+
(define (check-compiler e i)
8+
(check-equal? (interp/io e i)
9+
(exec/io e i)))
10+

0 commit comments

Comments
 (0)