Sha256: 3eb58073efa9464ce44cb5d7eed827953eaf14ed07445d553ccbeb3b92ee6029

Contents?: true

Size: 196 Bytes

Versions: 118

Compression:

Stored size: 196 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|
  @fib_result.should == expected.to_i
end

Version data entries

118 entries across 114 versions & 14 rubygems

Version Path
cucumber-0.7.0.beta.5 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.7.0.beta.4 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.7.0.beta.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.7.0.beta.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.7.0.beta.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.6.4 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.6.3 examples/tcl/features/step_definitions/fib_steps.rb
davidtrogers-cucumber-0.6.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.6.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.6.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.6.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.5.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.5.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.5.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.5.0 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.4.5.rc2 examples/tcl/features/step_definitions/fib_steps.rb
kbaum-cucumber-0.4.5.pre examples/tcl/features/step_definitions/fib_steps.rb
cucumber-0.4.5.rc1 examples/tcl/features/step_definitions/fib_steps.rb