Sha256: 6148df873a53e8cb231f102f83e134bb5affe7517a94484b61b928229c6c6f2b
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 Bytes
Contents
require 'facets/enumerable/per' require 'test/unit' class TCPer < Test::Unit::TestCase def test_per e = [1,2,3].per.map assert_equal( [4,5,6], e + 3 ) assert_equal( [0,1,2], e - 1 ) end def test_per_again e = [1,2,3].per.map assert_equal( ['1','2','3'], e.to_s ) end end
Version data entries
6 entries across 6 versions & 1 rubygems