# File test.rb, line 46 def test_length assert_equal(0, @@bc.length, "Use BlockCommand#length to find out how many commands are "\ "in the Block") c = PageTemplate::CommentCommand.new('foo') @@bc.add(c) assert_equal(1, @@bc.length, "BlockCommand#length reflects new Commands that have been " \ "added") end