rubyx/test/slot_machine/macro
Torsten 8119030ed2 fix return sequence
broken due to logic error in register_slot << (which was reducing the wrong register, self, not the arg)

Still the sequence is in 2 places, one too many ?
2020-03-22 14:31:43 +02:00
..
helper.rb fix return sequence 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 div4 and tests 2020-03-22 14:31:43 +02:00
test_div10.rb fix get_internal_byte 2020-03-22 14:31:43 +02:00
test_exit.rb fix test_exit registers 2020-03-22 14:31:43 +02:00
test_get_internal_byte.rb fix get_internal_byte 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 tests for all macros 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