Sha256: 7282af37642febdcead30918038068b9b59ab7b1ff837d1119c8eb1ef76edcae
Contents?: true
Size: 232 Bytes
Versions: 5
Compression:
Stored size: 232 Bytes
Contents
require 'facets/enumerable/take' require 'test/unit' class TC_Enumerable_Take < Test::Unit::TestCase SOURCE = (1..1/0.0) # infinite Enumerable object def test_finite assert_equal [1,2,3,4,5], SOURCE.take(5) end end
Version data entries
5 entries across 5 versions & 1 rubygems