Example #1
0
def test_zilch():
    """
    No scoring dice results in a 'zilch'
    which wipes away shelved points
    and ends turn
    """
    Flo.test("tests/zilch.txt")
Example #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/cheat_and_fix.txt")
Example #3
0
def test_flo_quit():
    Flo.test('tests/flow/flo_quit.txt')
Example #4
0
def test_flo_order_mascara_cream_no_view_quit():
    Flo.test('tests/flow/flo_order_mascara_cream_no_view.txt')
Example #5
0
def test_flo_no_order_no_view_quit():
    Flo.test('tests/flow/flo_no_order_no_view_quit.txt')
Example #6
0
def test_flo_order_bad_quit():
    Flo.test('tests/flow/flo_order_bad_quit.txt')
Example #7
0
def test_flo_hot_hands():
    Flo.test('tests/flow/hot_dice.txt')
Example #8
0
def test_flo_zilch():
    Flo.test('tests/flow/zilch.txt')
Example #9
0
def test_flo_bank_first_for_two_rounds():
    Flo.test('tests/flow/bank_first_for_two_rounds.txt')
Example #10
0
def test_flo_bank_one_roll_then_quit():
    Flo.test('tests/flow/bank_one_roll_then_quit.txt')
Example #11
0
def test_flo_cheat_and_fix():
    Flo.test('tests/flow/cheat_and_fix.txt')
Example #12
0
def test_flo_do_wanna_play_then_quit():
    Flo.test('tests/flow/do_wanna_play_then_quit.txt')
Example #13
0
def test_flo_wanna_play():
    Flo.test('tests/flow/wanna_play.txt')
Example #14
0
def test_wanna_play_then_quit():
    Flo.test('tests/do_wanna_play_then_quit.txt')
Example #15
0
def test_wanna_play():
    Flo.test('tests/wanna_play.txt')
Example #16
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/hot_dice.txt")