one more send mom test
This commit is contained in:
parent
bbc13946ed
commit
e40346b246
@ -1,7 +1,7 @@
|
||||
module Mom
|
||||
|
||||
# SlotLoad is an abstract base class for moving data into a slot
|
||||
# A Slot is the basically an instance variable, but it must be of known type
|
||||
# A Slot is basically an instance variable, but it must be of known type
|
||||
#
|
||||
# The value loaded can be a constant (SlotConstant) or come from another Slot (SlotMove)
|
||||
#
|
||||
@ -20,7 +20,7 @@ module Mom
|
||||
# @left: is an array of symbols, that specifies the first the object, and then the Slot.
|
||||
# The first element is either a known type name (Capitalized symbol of the class name) ,
|
||||
# or the symbol :message
|
||||
# Ant subsequent symbols must be instance variables on the previous type.
|
||||
# And subsequent symbols must be instance variables on the previous type.
|
||||
# Examples: [:message , :self] or [:Space : :next_message]
|
||||
#
|
||||
# @right: depends on the derived Class
|
||||
|
@ -9,6 +9,9 @@ module Vool
|
||||
@stats = compile_first_method( "5.mod4(1,2)").first
|
||||
end
|
||||
|
||||
def test_stats
|
||||
assert_equal Array , @stats.class
|
||||
end
|
||||
def test_class_compiles
|
||||
assert_equal Mom::SlotConstant , @stats.first.class , @stats
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user