From b69b65756b99c28e13dc5fd34583893aa6290519 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 30 Jul 2021 17:11:43 -0400 Subject: [PATCH] Added more unit tests --- Makefile | 1 + tests/test.scm | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/test.scm diff --git a/Makefile b/Makefile index 3213c162..8363acf6 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/tests/test.scm b/tests/test.scm new file mode 100644 index 00000000..3994d4e8 --- /dev/null +++ b/tests/test.scm @@ -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) + +