Sha256: 1da5be2348445ef913b74cfdeb98fba6482dc6b0c6ea5f9de6013c95414bfce6
Contents?: true
Size: 220 Bytes
Versions: 2
Compression:
Stored size: 220 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class SymbolTest < Test::Unit::TestCase def test_to_proc assert_equal('abcde'.map(&:upcase).first,'ABCDE') assert_equal([1,2,3,4].map(&:square),[1,4,9,16]) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
darkhelmet-darkext-0.11.1 | test/symbol_test.rb |
darkhelmet-darkext-0.11.2 | test/symbol_test.rb |