Racket
#
Versions#
Test Frameworks#
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"
.
#
Timeout12 seconds
#
PackagesNone
#
ServicesNone
#
Language IDracket