Skip to content

Instantly share code, notes, and snippets.

@bergmark
Created October 27, 2010 14:41
Show Gist options
  • Select an option

  • Save bergmark/649149 to your computer and use it in GitHub Desktop.

Select an option

Save bergmark/649149 to your computer and use it in GitHub Desktop.
(define (assert-equal location a b)
(if (not (equal? a b))
(error location "Expected: ~a but got: ~a" a b)
'ok))
(define (assert location a)
(if (not (equal? a #t))
(error location "Expected true but got: ~a" a)
'ok))
(display "Loaded dps/test.ss") (newline)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment