Sha256: 61d7d20f9ba682ef976bdcc2b197350ae725b13af731ca33edb67546c0595ca8

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

# -*- coding: utf-8 -*-
require "sixarm_ruby_geometry_test"
require "sixarm_ruby_geometry/space/array"
require "sixarm_ruby_geometry_test/fake"

module Space
  module Array
    class Test < Minitest::Test

      def test_0
        assert(::Space::Array)
      end

      class C < ::Array
        include ::Space::Array
      end

      def test_new
        assert(C[0])
      end

      def test_index
        e0 = fake_n
        c = C[e0]
        assert_equal(e0, c[0])
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sixarm_ruby_geometry-4.0.0 test/sixarm_ruby_geometry_test/space/array_test.rb