From 1e2c4d6678b1fd3fa2825dfffbe231cf9939a599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20R=C3=BCger?= Date: Thu, 19 Sep 2019 17:41:26 +0300 Subject: [PATCH] More tests and compiling parfait object --- .../risc/interpreter/class/test_class_inst.rb | 30 +++++++++++++++++ .../interpreter/class/test_class_inst_set.rb | 33 +++++++++++++++++++ .../risc/interpreter/class/test_class_send.rb | 29 ++++++++++++++++ test/rubyx/parfait/test_object.rb | 2 +- test/rubyx/test_rubyx_compiler2.rb | 3 +- 5 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 test/risc/interpreter/class/test_class_inst.rb create mode 100644 test/risc/interpreter/class/test_class_inst_set.rb create mode 100644 test/risc/interpreter/class/test_class_send.rb diff --git a/test/risc/interpreter/class/test_class_inst.rb b/test/risc/interpreter/class/test_class_inst.rb new file mode 100644 index 00000000..fdfe4b2d --- /dev/null +++ b/test/risc/interpreter/class/test_class_inst.rb @@ -0,0 +1,30 @@ +require_relative "../helper" + +module Risc + class InterpreterSetters < MiniTest::Test + include Ticker + + def setup + @preload = "Integer.div4" + @string_input = <