A simple way of writing tests in Racket.
#lang racket
(require examples)
(examples
(check-equal? (add 2 4) 6))
(define (add x y)
(+ x y))
All check expressions from rackunit
are reexported by the examples module.
A simple way of writing tests in Racket.
#lang racket
(require examples)
(examples
(check-equal? (add 2 4) 6))
(define (add x y)
(+ x y))
All check expressions from rackunit
are reexported by the examples module.