Racket
Versions
BC can be used when CS implementation have performance issues (e.g., bignums).
Test Frameworks
Example
#lang racket
(provide add)
(define (add a b) (+ a b))
#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))))
#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