rubyx/test/mom/builtin
Torsten Rüger 9a2716280c Extracting the mom instruction from builtin modules
Since they were embedded at first (easier copy/paste) they now got own files, like their brethren
also mini tests for each instruction , nice start
2019-08-12 13:16:15 +03:00
..
helper.rb Move builtin wholesale to Mom 2019-08-12 12:38:29 +03:00
README.md Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_comparison.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_div4.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_div10.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_exit.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_get_internal_byte.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_get_internal_word.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_init.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_integer.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_method_missing.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_object.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_operator.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_putstring.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_set_internal_byte.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_set_internal_word.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +03:00
test_word.rb Extracting the mom instruction from builtin modules 2019-08-12 13:16:15 +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