Sha256: 3fb94d8bf460346d6be016fe01e89b26b20cb9cdc934e4f80b421742b9f0f114

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

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

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

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

        require "matrix"
        class C < ::Vector
          include ::Space::Vector::D1
        end

        def test_new
          assert(C[0,0])
        end

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

      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/vector/d1_test.rb