Esempio n. 1
0
 function test_RPS_Player2Wins()
 {
     $test_RPS = new RPS();
     $player1_input = 0;
     $player2_input = 1;
     //act
     $result = $test_RPS->RPS_game($player1_input, $player2_input);
     //Assert
     $this->assertEquals("Player 2 wins", $result);
 }