Sha256: 0ea938c9b9bb5e280cf839b8373bc8be8869f67f06be2c23c67575272f988c57

Contents?: true

Size: 303 Bytes

Versions: 123

Compression:

Stored size: 303 Bytes

Contents

from py_dsl import *

@Given("^I ask python to calculate fibonacci up to (\d+)$")
def calc_fib_upto(n):
    print("CALCULATING FIB")
    #self.fib_result = fib.fib(n.to_i)
    
@Given("^it should give me (\[.*\])$")
def fib_should_be(n):
    print("COMPARING FIB")
    #self.fib_result = fib.fib(n.to_i)

Version data entries

123 entries across 121 versions & 15 rubygems

Version Path
cucumber-0.4.1 examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.0 examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.0.rc1 examples/python/features/step_definitions/fib_steps.py