mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-21 14:49:17 +02:00
Added more unit tests
This commit is contained in:
parent
e31a8b5766
commit
b69b65756b
2 changed files with 27 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -31,6 +31,7 @@ COBJECTS = $(SLDFILES:.sld=.o)
|
||||||
HEADERS = $(HEADER_DIR)/runtime.h $(HEADER_DIR)/types.h
|
HEADERS = $(HEADER_DIR)/runtime.h $(HEADER_DIR)/types.h
|
||||||
TEST_SRC = $(TEST_DIR)/unit-tests.scm \
|
TEST_SRC = $(TEST_DIR)/unit-tests.scm \
|
||||||
$(TEST_DIR)/base.scm \
|
$(TEST_DIR)/base.scm \
|
||||||
|
$(TEST_DIR)/test.scm \
|
||||||
$(TEST_DIR)/threading.scm \
|
$(TEST_DIR)/threading.scm \
|
||||||
$(TEST_DIR)/test-shared-queue.scm \
|
$(TEST_DIR)/test-shared-queue.scm \
|
||||||
$(TEST_DIR)/macro-hygiene.scm \
|
$(TEST_DIR)/macro-hygiene.scm \
|
||||||
|
|
26
tests/test.scm
Normal file
26
tests/test.scm
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
;;;; Cyclone Scheme
|
||||||
|
;;;; https://github.com/justinethier/cyclone
|
||||||
|
;;;;
|
||||||
|
;;;; Copyright (c) 2014-2021, Justin Ethier
|
||||||
|
;;;; All rights reserved.
|
||||||
|
;;;;
|
||||||
|
;;;; This module contains unit tests for (cyclone test)
|
||||||
|
;;;;
|
||||||
|
|
||||||
|
(import
|
||||||
|
(scheme base)
|
||||||
|
(cyclone test))
|
||||||
|
|
||||||
|
(test-group
|
||||||
|
"assert"
|
||||||
|
(test-assert #t)
|
||||||
|
)
|
||||||
|
|
||||||
|
(test-group
|
||||||
|
"not"
|
||||||
|
(test-not #f)
|
||||||
|
)
|
||||||
|
|
||||||
|
(test-exit)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue