Sha256: 42d7da5ae6b95629e27c7e6dc502dd25a701c977c5ec3b16bca59b6505254c3d

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

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

module Space
  module Vector
    class Test < Minitest::Test

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

      require "matrix"
      class C < ::Vector
        include ::Space::Vector
      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

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_test.rb