示例#1
0
def test_should_check_draw_rock():
    player1 = "rock"
    player2 = "rock"
    assert None == check_winner_command(player1, player2)
示例#2
0
def test_should_check_draw_paper():
    player1 = "paper"
    player2 = "paper"
    assert None == check_winner_command(player1, player2)
示例#3
0
def test_should_check_draw_scissor():
    player1 = "scissor"
    player2 = "scissor"
    assert None == check_winner_command(player1, player2)
示例#4
0
def test_should_check_player1_paper_scissor():
    player1 = "paper"
    player2 = "scissor"
    assert "Player 2" == check_winner_command(player1, player2)
示例#5
0
def test_should_check_player1_paper_rock():
    player1 = "paper"
    player2 = "rock"
    assert "Player 1" == check_winner_command(player1, player2)
示例#6
0
def test_should_check_player1_rock_scissor():
    player1 = "rock"
    player2 = "scissor"
    assert "Player 1" == check_winner_command(player1, player2)
示例#7
0
def test_should_check_player_2_won_capitol_R():
    player1 = "scissor"
    player2 = "Rock"
    assert "Player 2" == check_winner_command(player1, player2)