1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-12-28 10:30:21 +00:00
Commit Graph

102 Commits

Author SHA1 Message Date
mgcaret
c9a4b81466 test runner: add ability to match line of output against string or regex 2020-01-08 18:16:28 -08:00
mgcaret
20ad937855 increase test coverage 2020-01-08 17:47:09 -08:00
mgcaret
d7dee93a00 don't index certain words in source 2020-01-08 17:46:24 -08:00
mgcaret
a53bc5a612 2NIP not the same as other Forths, rename and make headerless 2020-01-08 12:25:46 -08:00
mgcaret
d456f722f1 additional tests 2020-01-08 12:25:03 -08:00
mgcaret
85e2c0122c add tests for OF816 words; test coverage is 67% of words 2020-01-07 18:19:00 -08:00
mgcaret
7a82a13f10 word existence test future-proofing 2020-01-07 18:13:05 -08:00
mgcaret
470f776a0b add test for backslash 2020-01-07 18:11:41 -08:00
mgcaret
37a66cda49 remove TEST-FCODE 2020-01-06 20:55:40 -08:00
mgcaret
70b2b8c48f fix broken test support 2020-01-06 19:51:19 -08:00
mgcaret
98f0665349 fix coverage reporting 2020-01-06 19:40:46 -08:00
mgcaret
169fefb600 yet more tests 2020-01-06 18:52:18 -08:00
mgcaret
a6ee722f04 indexer: correctly deal with commas 2020-01-06 17:39:30 -08:00
mgcaret
e59f1ce197 dictionary help indexing tool/coverage tooling 2020-01-06 12:31:19 -08:00
mgcaret
2f0281a5d9 minor help text updates 2020-01-06 12:30:46 -08:00
mgcaret
ea5c795cfd improve coverage counting 2020-01-06 12:30:09 -08:00
mgcaret
9f6f2b441e fix broken test 2020-01-06 10:13:52 -08:00
mgcaret
8a8dfe09b8 correct broken tests 2020-01-06 10:08:50 -08:00
mgcaret
77e0fa1d46 add 7.3.9 tests 2020-01-06 10:02:54 -08:00
mgcaret
02d557e597 run-tests.rb should see stack underflows 2020-01-06 09:57:02 -08:00
mgcaret
34ea44a3aa clarifications in comments 2020-01-06 09:56:35 -08:00
mgcaret
f7c9b0e786 correct issue with 'FORTH' word when platform dictionary is present 2020-01-06 09:55:52 -08:00
mgcaret
25e631db8c GoSXB: easily enable/disable platform dictionary 2020-01-06 09:55:01 -08:00
mgcaret
6d32bf54e3 STATE should not be immediate, 1275 7.3.9.2.2 is in error for STATE and IMMEDIATE 2020-01-06 08:23:41 -08:00
mgcaret
aa2cb1dd75 add tests for control flow commands in interpretation state 2020-01-06 08:20:21 -08:00
mgcaret
4f41c94ee6 resolve #7 2020-01-05 21:53:07 -08:00
mgcaret
aca5015e1c simplify temp def stuff a little 2020-01-05 21:12:49 -08:00
mgcaret
e9ab1c0eb4 enhance unit test runner 2020-01-05 17:42:58 -08:00
mgcaret
06da03f925 Add section 7.3.8 unit tests 2020-01-05 17:24:11 -08:00
mgcaret
fb1f630ab1 fix problem in ABORT" discovered in unit test 2020-01-05 17:23:44 -08:00
mgcaret
5e0a2eef86 Fix problem with ['] discovered in unit tests 2020-01-05 17:12:08 -08:00
mgcaret
b626a7a790 Fix J (and optional K) problem discovered in unit tests 2020-01-05 16:18:27 -08:00
mgcaret
1e4c84d86a STATE should be an immediate 2020-01-05 15:41:39 -08:00
mgcaret
e1e010cc8a make sure CMOVE and CMOVE> are according to spec 2020-01-05 15:39:37 -08:00
mgcaret
5eacf0b3f4 add tests for section 7.3.7 2020-01-05 15:38:56 -08:00
mgcaret
bc7c95bb7b temporarily switch to secondary FM/MOD, ref #5 2020-01-04 17:39:36 -08:00
mgcaret
71ec30ab99 avoid double output when test run has errors 2020-01-04 17:32:06 -08:00
mgcaret
f4a4504b0e save a few bytes 2020-01-04 17:31:32 -08:00
mgcaret
32ec1e9df4 resolve #6; general clean-up 2020-01-04 16:25:41 -08:00
mgcaret
7f57ba6f06 resolve #4, h/t ksherlock 2020-01-03 19:41:25 -08:00
mgcaret
30a8a259c7 add more comparison operator tests 2020-01-01 23:33:13 -08:00
mgcaret
f72ef5a72f Add 7.3.3 and 7.3.4 unit tests 2020-01-01 23:20:53 -08:00
mgcaret
f50aaf6942 fix bug in 0>= uncovered by unit testing 2020-01-01 23:20:02 -08:00
mgcaret
ce9017bed6 Fix 2@/2! discovered in unit testing 2020-01-01 22:00:49 -08:00
mgcaret
2bdcf695fe README for unit tests 2019-12-29 15:02:46 -08:00
mgcaret
4634d658b1 Start adding unit tests 2019-12-29 14:53:44 -08:00
mgcaret
0ed5c88d9a fix error in lbsplit uncovered by unit tests 2019-12-29 14:36:31 -08:00
mgcaret
0c6e3a0413 Fix issue with 2/ and >>a uncovered by unit tests 2019-12-29 13:43:19 -08:00
mgcaret
84c53d35c6 resolve one issue involving comparison with MIN-INT 2019-12-29 12:58:37 -08:00
mgcaret
b38171eb29 GoSXB runner script update 2019-12-29 12:49:35 -08:00