Sha256: 84e3f6c0bf6bff349f285831617c5bd5f0efc7f4e2a83f7dcad93b668ab2ec4e
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
# -*- encoding: binary -*- require 'test/unit' require 'raindrops' class TestRaindropsGc < Test::Unit::TestCase # we may need to create more garbage as GC may be less aggressive # about expiring things. This is completely unrealistic code, # though... def test_gc assert_nothing_raised do 1000000.times { |i| Raindrops.new(24); [] } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
raindrops-0.4.1 | test/test_raindrops_gc.rb |
raindrops-0.4.0 | test/test_raindrops_gc.rb |