rubyx/test/rubyx/macro
Torsten bc60f02f66 remove risc tests from rubyx layer
duplication, better ones in slot
2020-03-22 17:47:31 +02:00
..
README.md More rename cleanp 2019-10-03 21:07:55 +03:00
helper.rb More rename cleanp 2019-10-03 21:07:55 +03:00
test_integer_comparison.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_integer_div4.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_integer_div10.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_integer_operator.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_object_exit.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_object_get.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_object_init.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_object_missing.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_object_set.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_word_get.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_word_putstring.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00
test_word_set.rb remove risc tests from rubyx layer 2020-03-22 17:47:31 +02:00

README.md

SlotMachine level

There are two test levels to every method. SlotMachine being the first, where we basically just see if the right SlotMachine instruction has been generated

Risc

Second level is to check the actual risc instructions that are generated.

Current tests test only the length, but there are some tests in interpreter dir that test actual instructions. Should move those, as they are too detailed in a mains (make the interpreter tests less brittle while at it.)