-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.rkt
29 lines (23 loc) · 941 Bytes
/
main.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#lang racket/base
;; ---------------------------------------------------------------------------------------------------
(module+ test
(require rackunit))
;; Notice
;; To create an executable see https://docs.racket-lang.org/raco/exe.html
;;
;; To share stand-alone executables see https://docs.racket-lang.org/raco/exe-dist.html
;;
;;
;; app code here
;;
(module+ test
;; Any code in this `test` submodule runs when this file is run using DrRacket
;; or with `raco test`. The code here does not run when this file is
;; required by another module.
(check-equal? (+ 2 2) 4))
(module+ main
;; (Optional) main submodule. Put code here if you need it to be executed when
;; this file is run using DrRacket or the `racket` executable. The code here
;; does not run when this file is required by another module. Documentation:
;; http://docs.racket-lang.org/guide/Module_Syntax.html#%28part._main-and-test%29
(void))