2017-03-14 17:17:52 +08:00
|
|
|
from behave import *
|
2017-03-14 22:37:00 +08:00
|
|
|
import graph
|
2017-03-14 17:17:52 +08:00
|
|
|
|
|
|
|
@given(u'the binary-tree-1 graph')
|
|
|
|
def step_impl(context):
|
2017-03-14 22:37:00 +08:00
|
|
|
graph.create_graph('binary-tree-1', context)
|
2017-03-14 17:17:52 +08:00
|
|
|
|
|
|
|
@given(u'the binary-tree-2 graph')
|
|
|
|
def step_impl(context):
|
2017-03-14 22:37:00 +08:00
|
|
|
graph.create_graph('binary-tree-2', context)
|