Sha256: 30e725b71a91f977a9555797d8ded3f7e42134439ae55b94aac1e7807b612b6b

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

# -*- coding: utf-8 -*-
require "minitest/autorun"
require "simplecov"
SimpleCov.start

require "sixarm_ruby_geometry/space/array/d1"
require "sixarm_ruby_geometry_test/fake"

module Space
  module Array
    module D1
      class Test < Minitest::Test

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

        class C < ::Array
          include ::Space::Array::D1
        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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sixarm_ruby_geometry-3.1.1 test/sixarm_ruby_geometry_test/space/array/d1_test.rb
sixarm_ruby_geometry-3.0.0 test/sixarm_ruby_geometry_test/space/array/d1_test.rb