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

Version Path
funkr-0.0.40 test/test_container.rb
funkr-0.0.30 test/test_container.rb
funkr-0.0.28 test/test_container.rb
funkr-0.0.27 test/test_container.rb
funkr-0.0.26 test/test_container.rb
funkr-0.0.25 test/test_container.rb
funkr-0.0.24 test/test_container.rb
funkr-0.0.23 test/test_container.rb
funkr-0.0.22 test/test_container.rb