Sha256: feff6b5d7147a35573b6a90c6d261052984caa165fdde65eee3696a84a84d0b4

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

# -*- coding: utf-8 -*-
require "sixarm_ruby_geometry_test"
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

1 entries across 1 versions & 1 rubygems

Version Path
sixarm_ruby_geometry-4.0.0 test/sixarm_ruby_geometry_test/indexable_test.rb