rubyx/test/slot_machine/macro
Torsten 22d513d895 fix div4 and tests
also bug in reduce_int, compiler not carried through
2020-03-22 14:31:43 +02:00
..
helper.rb fix builder logic error 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 fix div4 and tests 2020-03-22 14:31:43 +02:00
test_div10.rb Fix div10 and test 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