Sha256: b707cda058d7c49d8880a3b3f4b163dc82a6ae15c65f8d8d02e85071b9d7bba4
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
# -*- coding: utf-8 -*- require "minitest/autorun" require "simplecov" SimpleCov.start require "sixarm_ruby_geometry/indexable" require "sixarm_ruby_geometry_test/fake" module Indexable class Test < Minitest::Test def test_0 assert(::Indexable) end class C include ::Indexable def [] end end def test_include assert_includes(C.ancestors, ::Indexable) end def test_braces assert(C.new.respond_to?:[]) 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_test.rb |
sixarm_ruby_geometry-3.0.0 | test/sixarm_ruby_geometry_test/indexable_test.rb |