Sha256: 8f991eece805304f08c3b0e36b42df4a1b7aaf31e70ec7a894e9e33593a0cd2f

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

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

require "sixarm_ruby_geometry/point/vector/d1"
require "sixarm_ruby_geometry_test/fake"

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

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

        require "matrix"
        class C < ::Vector
          include ::Point::Vector::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/point/vector/d1_test.rb
sixarm_ruby_geometry-3.0.0 test/sixarm_ruby_geometry_test/point/vector/d1_test.rb