Sha256: 662da17ae37c5c2e8977bca8aa0c53529624b8513cb08056a4b2cd07e1693d3f

Contents?: true

Size: 200 Bytes

Versions: 22

Compression:

Stored size: 200 Bytes

Contents

When /^I ask Tcl to calculate fibonacci for (\d+)$/ do |n|
  @fib_result = @fib.eval("fib #{n}").to_i
end

Then /^it should give me (\d+)$/ do |expected|
  expect(@fib_result).to eq expected.to_i
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
cucumber-2.99.0 examples/tcl/features/step_definitions/fib_steps.rb
mobiusloop-0.1.5 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-3.0.0.pre.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.4.0 examples/tcl/features/step_definitions/fib_steps.rb
mobiusloop-0.1.3 examples/tcl/features/step_definitions/fib_steps.rb
mobiusloop-0.1.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.3.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.3.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.3.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.3.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.2.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.1.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.rc.5 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.rc.4 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.rc.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.rc.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.rc.1 examples/tcl/features/step_definitions/fib_steps.rb