Sha256: a6bb0914284e208e59030ba0e8a9b2dd937d85c2dc9a84a8c6970ceaeb1c6af9

Contents?: true

Size: 180 Bytes

Versions: 5

Compression:

Stored size: 180 Bytes

Contents

covers 'facets/array/contains'

test_case Array do

  method :contains? do

    test do
      [1,2,3,4].assert.contains?(2)
      [1,2,3,4].refute.contains?(9)
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/array/test_contains.rb
facets-3.1.0 test/core/array/test_contains.rb
facets-3.0.0 test/core/array/test_contains.rb
facets-2.9.3 test/core/array/test_contains.rb
facets-2.9.2 test/core/array/test_contains.rb