Skip to content

Commit e18d1aa

Browse files
committed
Removes a test case for a form that is invalid in R7RS
1 parent 80378f3 commit e18d1aa

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

ports/lispy-tests2.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
{"input": "(if 1 2)", "expected": 2},
1616
{"input": "(if (= 3 4) 2)", "expected": null},
1717
{"input": "(begin (define x 1) (set! x (+ x 1)) (+ x 1))", "expected": 3},
18-
{"input": "(define ((account bal) amt) (set! bal (+ bal amt)) bal)", "expected": null},
19-
{"input": "(define a1 (account 100))", "expected": null},
20-
{"input": "(a1 0)", "expected": 100},
21-
{"input": "(a1 10)", "expected": 110},
22-
{"input": "(a1 10)", "expected": 120},
2318
{"input": "(define (newton guess function derivative epsilon)\n(define guess2 (- guess (/ (function guess) (derivative guess))))\n(if (< (abs (- guess guess2)) epsilon) guess2\n(newton guess2 function derivative epsilon)))", "expected": null},
2419
{"input": "(define (square-root a)\n(newton 1 (lambda (x) (- (* x x) a)) (lambda (x) (* 2 x)) 1e-8))", "expected": null},
2520
{"input": "(> (square-root 200.) 14.14213)", "expected": true},

0 commit comments

Comments
 (0)