2018-08-01 16:10:52 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from behave import given
|
2017-06-20 21:01:11 +08:00
|
|
|
import graph
|
|
|
|
|
|
|
|
|
|
|
|
@given(u'the binary-tree-1 graph')
|
|
|
|
def step_impl(context):
|
|
|
|
graph.create_graph('binary-tree-1', context)
|
|
|
|
|
|
|
|
|
|
|
|
@given(u'the binary-tree-2 graph')
|
|
|
|
def step_impl(context):
|
|
|
|
graph.create_graph('binary-tree-2', context)
|