Exemplo n.º 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")
Exemplo n.º 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')
Exemplo n.º 8
0
def test_for_cheating():
    Flo.test('tests/flow/cheat_and_fix.txt')
Exemplo n.º 9
0
def test_living_on_edge():
    Flo.test('tests/flow/living_on_the_edge.txt')
Exemplo n.º 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")
Exemplo n.º 11
0
def test_wanna_play_yes_then_quit():
    Flo.test('tests/flow/do_wanna_play_then_quit.txt')
Exemplo n.º 12
0
def test_quitter():
    Flo.test('tests/flow/quitter.txt')
Exemplo n.º 13
0
def test_tests_bank_first_for_two_rounds():
    Flo.test('tests/flow/bank_first_for_two_rounds.txt')
Exemplo n.º 14
0
def test_tests_bank_one_roll_then_quit():
    Flo.test('tests/flow/bank_one_roll_then_quit.txt')
Exemplo n.º 15
0
def test_quitter():
    Flo.test("tests/flow/quitter.txt")
Exemplo n.º 16
0
def test_hot_dice():
    Flo.test("tests/flow/hot_dice.txt")
Exemplo n.º 17
0
def test_wanna_play_then_quit():
    Flo.test("tests/flow/do_wanna_play_then_quit.txt")
Exemplo n.º 18
0
def test_wanna_play():
    Flo.test("tests/flow/wanna_play.txt")
Exemplo n.º 19
0
def test_hot_dices():
    Flo.test('tests/flow/hot_dice.txt')
Exemplo n.º 20
0
def test_wanna_play_then_quit():
    Flo.test("tests/flow/bank_one_roll_then_quit.txt")
Exemplo n.º 21
0
def test_zilch():
    Flo.test('tests/flow/zilch.txt')
Exemplo n.º 22
0
def test_bank_first_for_one_rounds():
    Flo.test('tests/flow/bank_one_roll_then_quit.txt')