Sha256: c0b9568d879099807ad8c4f548b3c0441d087f8a62bc4f5b07bdc9508f35f886

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

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

require "sixarm_ruby_geometry/point/array"
require "sixarm_ruby_geometry_test/fake"

module Point
  module Array
    class Test < Minitest::Test

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

      class C < ::Array
        include ::Point::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-3.0.0 test/sixarm_ruby_geometry_test/point/array_test.rb