rubyx/test/slot_machine/macro
Torsten 1760b5b203 fix comparison test and helpers
moving to passing the instruction number, not the instruction
so in the error message we can say where the error is
(otherwise minitest is good enough to supress the trace of asserts calling asserts)
2020-03-22 14:31:43 +02:00
..
helper.rb fix comparison test and helpers 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 comparison test and helpers 2020-03-22 14:31:43 +02:00
test_div4.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_div10.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_exit.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_get_internal_byte.rb tests for all macros 2020-03-22 14:31:43 +02:00
test_get_internal_word.rb tests for all macros 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