add unit tests, etc.

This commit is contained in:
2024-11-18 13:47:00 +00:00
parent ef395feea8
commit b5e1c3757f
5 changed files with 45 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -4,3 +4,6 @@
[submodule "lib/cozette-sml"]
path = lib/cozette-sml
url = https://github.com/hummy123/cozette-sml
[submodule "tests/Railroad"]
path = tests/Railroad
url = https://github.com/PerplexSystems/Railroad

34
shf-tests.mlb Normal file
View File

@@ -0,0 +1,34 @@
$(SML_LIB)/basis/basis.mlb
(* FUNCTIONAL CORE *)
lib/brolib-sml/src/line_gap.sml
lib/cozette-sml/fonts/cozette-ascii.mlb
message-types/input-msg.sml
message-types/draw-msg.sml
message-types/mailbox-type.sml
fcore/bin-search.sml
fcore/search-list.sml
fcore/app-type.sml
fcore/app-with.sml
fcore/build-search-list.sml
fcore/text-constants.sml
ann
"allowVectorExps true"
in
fcore/rect.sml
fcore/text-builder.sml
end
fcore/cursor.sml
fcore/text-window.sml
fcore/app-update.sml
(* TEST FILES *)
test/Railroad/src/railroad.mlb
test/test.sml

7
test/README.md Normal file
View File

@@ -0,0 +1,7 @@
# shf-tests
Unit tests for shf.
The tests require (Railroad)[https://github.com/PerplexSystems/Railroad] testing framework.

1
test/Railroad Submodule

Submodule test/Railroad added at 3154a783c0

0
test/test.sml Normal file
View File