Sha256: 25ad92611710f8c542787304de743d2e58d98a48071d07b69f227d88b2ea6ab7
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
require 'helper' describe "When cycling" do before do @values = [] for i in (0..3) @values[i] = Bicycle.cycle("Foo", "Bar", "Huh?") end end it "should return a value in the cycle order" do assert_equal "Foo", @values[0] assert_equal "Bar", @values[1] assert_equal "Huh?", @values[2] assert_equal "Foo", @values[3] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bicycle-0.0.1 | test/test_bicycle.rb |