15 lines
242 B
Racket
15 lines
242 B
Racket
#lang racket
|
|
|
|
;; This is just an example file used to test the example .travis.yml
|
|
|
|
(define (plus1 x)
|
|
(add1 x))
|
|
|
|
(define (minus1 x)
|
|
(sub1 x))
|
|
|
|
(module+ test
|
|
(require rackunit)
|
|
(check-equal? (plus1 1) 2)
|
|
(check-equal? (minus1 1) 0))
|