예제 #1
0
def test_lift_one_bench(line):
    line = Line(5)
    lift = Lift(10, )
    #line = Line(5)
    #lift = Lift(10, Quad)
    res = quad10.one_bench(line5)
    assert res == {'loaded': 4, 'num_benches': 1, 'unloaded': 0}
예제 #2
0
def test_lift_one_bench():
    line = Line(5)
    lift = Lift(10, Quad)
    res = lift.one_bench(line)
    assert res ==E         {'loaded': 4, 'num_benches': 1, 'unloaded': 0}
def test_lift_one_bench():
    line = Line(5)
    lift = Lift(10, Quad)
    res = quad.one_bench(line5)
    assert res == {}
예제 #4
0
def quad_lift10():
    lift = Lift(10, Quad)
    return lift
def test_bench6(BenchN, line5):
    lift = Lift(10, BenchN)
    res = lift.one_bench(line5)
    assert res == {'loaded': 5, 'num_benches': 1, 'unloaded': 0}
def lift():
    return Lift(10, Quad)