Sha256: 48618f99f7b5cc0d16bc7c8cbb6e817be8a2008e596d25995b4d2511dab36d8e
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 Bytes
Contents
# -*- coding: utf-8 -*- require "minitest/autorun" require "simplecov" SimpleCov.start require "sixarm_ruby_geometry/space/vector/d3" require "sixarm_ruby_geometry_test/fake" module Space module Vector module D3 class Test < Minitest::Test def test_0 assert(::Space::Vector::D3) end require "matrix" class C < ::Vector include ::Space::Vector::D3 end def test_new assert(C[0,0,0]) end def test_index e0 = fake_n e1 = fake_n e2 = fake_n c = C[e0, e1 , e2] assert_equal(c[0], e0) assert_equal(c[1], e1) assert_equal(c[2], e2) 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/space/vector/d3_test.rb |
sixarm_ruby_geometry-3.0.0 | test/sixarm_ruby_geometry_test/space/vector/d3_test.rb |