rubyx/test/mom/macro
Torsten Rüger 12b29285d7 Lots of preloading for tests
so many relied (implicitly( on some builtin function
after all can't do much in ruby without calling
Now all those dependencies are explicit
Small risc changes come because the macro version has a return label and unreachable label
2019-09-13 14:07:12 +03:00
..
helper.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
README.md renaming mom builtin to macro 2019-09-11 20:33:49 +03:00
test_comparison.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_div4.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_div10.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_exit.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_get_internal_byte.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_get_internal_word.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_init.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_method_missing.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_operator.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_putstring.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00
test_set_internal_byte.rb Lots of preloading for tests 2019-09-13 14:07:12 +03:00
test_set_internal_word.rb rework macro tests, or are they builtin 2019-09-13 10:42:20 +03:00

Builtin Testing

At the Module level (word/object/integer) mostly testing that

  • functions exist
  • they compile
  • basic length tests (no "contents")

Minimal tests for risc compilation, and again length only (should be array too)

Functionality is tested by interpreter over in interpreter dir