Example #1
0
def test_step_stop_backward(tgraph):
    assert tools.step(tgraph, 5, 3, backward=True) is None
Example #2
0
def test_step_inbound_false_backward(tgraph):
    assert tools.step(tgraph, 7, 5, backward=True) == 3
Example #3
0
def test_step_inbound_true_backward(tgraph):
    assert tools.step(tgraph, 7, 5, backward=True, inbound=True) is None
Example #4
0
def test_step_stop(tgraph):
    assert tools.step(tgraph, 3, 5) is None
Example #5
0
def test_step_basic_backward(tgraph):
    assert tools.step(tgraph, 3, 2, backward=True) == 1
Example #6
0
def test_step_inbound_false(tgraph):
    assert tools.step(tgraph, 2, 3) == 5
Example #7
0
def test_step_inbound_true(tgraph):
    assert tools.step(tgraph, 2, 3, inbound=True) is None
Example #8
0
def test_step_stop_backward(tgraph):
    assert tools.step(tgraph, 5, 3, backward=True) is None
Example #9
0
def test_step_basic(tgraph):
    assert tools.step(tgraph, 1, 2) == 3
Example #10
0
def test_step_inbound_false_backward(tgraph):
    assert tools.step(tgraph, 7, 5, backward=True) == 3
Example #11
0
def test_step_inbound_true_backward(tgraph):
    assert tools.step(tgraph, 7, 5, backward=True, inbound=True) is None
Example #12
0
def test_step_basic_backward(tgraph):
    assert tools.step(tgraph, 3, 2, backward=True) == 1
Example #13
0
def test_step_stop(tgraph):
    assert tools.step(tgraph, 3, 5) is None
Example #14
0
def test_step_inbound_true(tgraph):
    assert tools.step(tgraph, 2, 3, inbound=True) is None
Example #15
0
def test_step_inbound_false(tgraph):
    assert tools.step(tgraph, 2, 3) == 5
Example #16
0
def test_step_basic(tgraph):
    assert tools.step(tgraph, 1, 2) == 3