예제 #1
0
def test_zilch():
    """
    No scoring dice results in a 'zilch'
    which wipes away shelved points
    and ends turn
    """
    Flo.test("tests/flow/zilch.txt")
예제 #2
0
def test_cheat_and_fix():
    """Cheating (or typos) should not be allowed.
    Therefore the user's input must be validated
    If invalid prompt user for re-entry
    """

    Flo.test("tests/flow/cheat_and_fix.txt")
def test_zilch():
    Flo.test("tests/flow/zilch.txt")
def test_cheat_and_fix():
    Flo.test("tests/flow/cheat_and_fix.txt")
def test_bank_first_for_two_rounds():
    Flo.test("tests/flow/bank_first_for_two_rounds.txt")
def test_bank_one_roll_then_quit():
    Flo.test("tests/flow/bank_one_roll_then_quit.txt")
def test_cheat_fix():
    Flo.test('tests/flow/cheat_and_fix.txt')
예제 #8
0
def test_for_cheating():
    Flo.test('tests/flow/cheat_and_fix.txt')
예제 #9
0
def test_living_on_edge():
    Flo.test('tests/flow/living_on_the_edge.txt')
예제 #10
0
def test_hot_dice():
    """When all dice are used without a zilch
    then user gets 6 fresh dice and continues turn.
    """
    Flo.test("tests/flow/hot_dice.txt")
예제 #11
0
def test_wanna_play_yes_then_quit():
    Flo.test('tests/flow/do_wanna_play_then_quit.txt')
예제 #12
0
def test_quitter():
    Flo.test('tests/flow/quitter.txt')
예제 #13
0
def test_tests_bank_first_for_two_rounds():
    Flo.test('tests/flow/bank_first_for_two_rounds.txt')
예제 #14
0
def test_tests_bank_one_roll_then_quit():
    Flo.test('tests/flow/bank_one_roll_then_quit.txt')
def test_quitter():
    Flo.test("tests/flow/quitter.txt")
예제 #16
0
def test_hot_dice():
    Flo.test("tests/flow/hot_dice.txt")
def test_wanna_play_then_quit():
    Flo.test("tests/flow/do_wanna_play_then_quit.txt")
예제 #18
0
def test_wanna_play():
    Flo.test("tests/flow/wanna_play.txt")
예제 #19
0
def test_hot_dices():
    Flo.test('tests/flow/hot_dice.txt')
예제 #20
0
def test_wanna_play_then_quit():
    Flo.test("tests/flow/bank_one_roll_then_quit.txt")
def test_zilch():
    Flo.test('tests/flow/zilch.txt')
예제 #22
0
def test_bank_first_for_one_rounds():
    Flo.test('tests/flow/bank_one_roll_then_quit.txt')