Sha256: c92d89c165a96d1d5571ae6bdad9fb64661e5f3b20874ab8af0596dce6a3b3ab
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'lib', 'ludy/test/helper') require 'ludy/variable' class TestVariable < Test::Unit::TestCase include Ludy class Qoo def cool 'cool ~~~~' end end def test_variable x = var Qoo.new y = x assert_equal x.__obj__, y.__obj__ assert_equal Qoo, x.__obj__.class assert_equal Qoo, x.class assert_equal 'cool ~~~~', x.cool assert_equal 'cool ~~~~', y.cool x.__obj__ = nil assert x.nil? assert y.nil? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ludy-0.1.0 | test/test_variable.rb |
ludy-0.1.1 | test/test_variable.rb |
ludy-0.1.2 | test/test_variable.rb |