rubyx/test/slot_machine/macro
Torsten cf5a3c0102 fix inits registers
surprisingly easy. shorter code and more readable tests
2020-03-22 14:31:43 +02:00
..
helper.rb fix allocate in builder 2020-03-22 14:31:43 +02:00
README.md Change Mom to SlotMachine 2019-10-03 20:55:41 +03:00
test_comparison.rb fix test_exit registers 2020-03-22 14:31:43 +02:00
test_div4.rb fix allocate tests 2020-03-22 14:31:43 +02:00
test_div10.rb fix allocate tests 2020-03-22 14:31:43 +02:00
test_exit.rb fix allocate tests 2020-03-22 14:31:43 +02:00
test_get_internal_byte.rb fix allocate tests 2020-03-22 14:31:43 +02:00
test_get_internal_word.rb fix get_internal word register names 2020-03-22 14:31:43 +02:00
test_init.rb fix inits registers 2020-03-22 14:31:43 +02:00
test_method_missing.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_operator.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_putstring.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_set_internal_byte.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_set_internal_word.rb tests for all macros 2020-03-22 14:31:43 +02: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