Sha256: cc795bc5cde153fabd4aa45dec9f85f81ad2a1f6abc8dd1154b36f3bd5f403e4

Contents?: true

Size: 561 Bytes

Versions: 13

Compression:

Stored size: 561 Bytes

Contents

require 'spec/spec_helper'

describe 'Array Extensions' do
  it "should know if elements are not equivilent to a subset of those elements" do
    [1,2,3].should_not be_equivalent([2,3])
  end
  it "should know if elements are not equivilent to a larger set including those elements" do
    [1,2,3].should_not be_equivalent([1,2,3,4])
  end  
  it "should know it is equivalent if the same order" do
    [1,2,3].should be_equivalent([1,2,3])
  end
  it "should know it is equivalent if the different orders" do
    [1,2,3].should be_equivalent([2,1,3])
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
bret-watircraft-0.4.0 spec/array_spec.rb
bret-watircraft-0.4.1 spec/array_spec.rb
bret-watircraft-0.4.2 spec/array_spec.rb
bret-watircraft-0.4.3 spec/array_spec.rb
bret-watircraft-0.4.4 spec/array_spec.rb
bret-watircraft-0.4.5 spec/array_spec.rb
bret-watircraft-0.5.0 spec/array_spec.rb
scudco-taza-0.8.1 spec/array_spec.rb
scudco-taza-0.8.3 spec/array_spec.rb
scudco-taza-0.8.4 spec/array_spec.rb
taza-0.8.3 spec/array_spec.rb
taza-0.8.4 spec/array_spec.rb
taza-0.8.2 spec/array_spec.rb