Sha256: b8d8a71c054cff95427c0a075c98aed8c5b65bc8df18c239213d2b8d06fc3d91

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

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

module Point
  module Vector
    class Test < Minitest::Test

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

      require "matrix"
      class C < ::Vector
        include ::Point::Vector
      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/point/vector_test.rb