Sha256: 86e360f7caabb68bb243e4b6055d41f3b9eb49ef1f7546b3de676eaa3341d2e2
Contents?: true
Size: 343 Bytes
Versions: 9
Compression:
Stored size: 343 Bytes
Contents
require 'test/unit' require 'funkr/types/container' class TestContainer < Test::Unit::TestCase C = Funkr::Types::Container def test_comparable # assert_equal(C.new('foo'), C.new('foo')) end def test_container c = C.new("Value") assert_equal("Value", c.unbox) assert_equal("eulaV", c.map(&:reverse).unbox) end end
Version data entries
9 entries across 9 versions & 1 rubygems