示例#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")
def test_wanna_play_yes_then_quit():
    Flo.test('tests/flow/do_wanna_play_then_quit.txt')
def test_quitter():
    Flo.test('tests/flow/quitter.txt')
def test_tests_bank_first_for_two_rounds():
    Flo.test('tests/flow/bank_first_for_two_rounds.txt')
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')