Skip to main content

Racket

Versions#

v7.2

Test Frameworks#

RackUnit

Example#

#lang racket
(provide add)
(define (add a b) (+ a b))
#lang racket
(require "solution.rkt")
(require rackunit
         codewars/rackunit)

(run-tests
  (test-suite
   "example"
   (test-case
    "add"
    (check-equal? (add 1 1) 2))))

Import "solution.rkt", rackunit and codewars/rack-unit. Optional preloaded code will be written to "preloaded.rkt".

Timeout#

12 seconds

Packages#

None

Services#

None

Language ID#

racket