예제 #1
0
def firstTestA():
    add1()  # add 1 block in first stack
    time.sleep(1)
    add2()  # add 1 block in second stack
    time.sleep(1)
    add3()  # add 1 block in third stack
    time.sleep(1)
    startButton()  # press the start button
    print("First test part 1 is started")
예제 #2
0
def thirdTestB():
    fill1()  # fill the first stack
    time.sleep(1)
    add3()  # add 1 block in second stack
    time.sleep(1)
    add3()  # add 1 block in second stack
    time.sleep(1)
    autoSwitchOn()  # turn the auto switch to auto-mode
    time.sleep(1)
    startButton()  # press the start button
    print("Third test part 2 is started")
예제 #3
0
def secondTest():
    add1()  # add 1 block in first stack
    time.sleep(1)
    add1()  # add 1 block in first stack
    time.sleep(1)
    add2()  # add 1 block in second stack
    time.sleep(1)
    add2()  # add 1 block in second stack
    time.sleep(1)
    add3()  # add 1 block in third stack
    time.sleep(1)
    add3()  # add 1 block in third stack
    time.sleep(1)
    autoSwitchOn()  # turn the auto switch to auto-mode
    time.sleep(1)
    startButton()  # press the start button
    print("Second test is started")