1 require 'test/minirunit'
2 test_check "Test Variables and method:"
3 a = String.new("Hello World")
12 test_ok("Hello World" == a)
13 test_ok("dlroW olleH" == b)
14 test_ok("Hello" == d.reverse)
15 test_ok("World" == e.reverse)
28 test_ok(NIL_CONSTANT == nil)
29 test_exception(NameError) { NO_SUCH_CONSTANT }
31 x, (y, z) = 1, 2, 3; test_ok([1,2,nil] == [x,y,z])