71 |
assert(!slot.is_proc_slot?) |
assert(!slot.is_proc_slot?) |
72 |
assert(!slot.is_map_slot?) |
assert(!slot.is_map_slot?) |
73 |
assert_equal(1, slot.data) |
assert_equal(1, slot.data) |
74 |
|
assert_equal(1, slot.value) |
75 |
assert_exception(RuntimeError) {slot.proc} |
assert_exception(RuntimeError) {slot.proc} |
76 |
assert_exception(RuntimeError) {slot.queue} |
assert_exception(RuntimeError) {slot.queue} |
77 |
assert_exception(RuntimeError) {slot.stack} |
assert_exception(RuntimeError) {slot.stack} |
150 |
assert(!slot.is_data_slot?) |
assert(!slot.is_data_slot?) |
151 |
assert(!slot.is_map_slot?) |
assert(!slot.is_map_slot?) |
152 |
slot.call(4) |
slot.call(4) |
153 |
|
slot.invoke(4) |
154 |
slot.proc.call(4) |
slot.proc.call(4) |
155 |
assert_exception(RuntimeError) {slot.stack} |
assert_exception(RuntimeError) {slot.stack} |
156 |
assert_exception(RuntimeError) {slot.data} |
assert_exception(RuntimeError) {slot.data} |