Added more unit tests

This commit is contained in:
Justin Ethier 2021-07-30 17:11:43 -04:00
parent e31a8b5766
commit b69b65756b
2 changed files with 27 additions and 0 deletions

View file

@ -31,6 +31,7 @@ COBJECTS = $(SLDFILES:.sld=.o)
HEADERS = $(HEADER_DIR)/runtime.h $(HEADER_DIR)/types.h
TEST_SRC = $(TEST_DIR)/unit-tests.scm \
$(TEST_DIR)/base.scm \
$(TEST_DIR)/test.scm \
$(TEST_DIR)/threading.scm \
$(TEST_DIR)/test-shared-queue.scm \
$(TEST_DIR)/macro-hygiene.scm \

26
tests/test.scm Normal file
View 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)