Sha256: 5c2ee4cf502e059a7290ce7d5d48f18974e2a04b0a79ef1ab7314c187519e8e0
Contents?: true
Size: 613 Bytes
Versions: 2
Compression:
Stored size: 613 Bytes
Contents
# -*- coding: utf-8 -*- require "minitest/autorun" require "simplecov" SimpleCov.start require "sixarm_ruby_geometry/indexable/d2" require "sixarm_ruby_geometry_test/fake" module Indexable module D2 class Test < Minitest::Test def test_0 assert(::Indexable::D2) end require "matrix" class C < Vector include ::Indexable::D2 end def test_new assert(C[0, 0]) end def test_index e0 = fake_n e1 = fake_n c = C[e0, e1] assert_equal(e0, c[0]) assert_equal(e1, c[1]) 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/indexable/d2_test.rb |
sixarm_ruby_geometry-3.0.0 | test/sixarm_ruby_geometry_test/indexable/d2_test.rb |