public HomeModule()
 {
     Get["/"] = _ => {
     return View["index.cshtml"];
       };
       Post["/output"] = _ =>
       {
     string output;
     RPSGame newRPSGame = new RPSGame(Request.Form["player1"], Request.Form["player2"]);
     output = newRPSGame.RPSWinner();
     return View["output.cshtml", output];
       };
 }
 public void testRPSWinner_ScissorsRock_Player2()
 {
     RPSGame newRPSGame = new RPSGame("scissors", "rock");
      Assert.Equal(newRPSGame.RPSWinner(), "player 2");
 }
 public void testRPSWinner_ScissorsPaper_Player1()
 {
     RPSGame newRPSGame = new RPSGame("scissors", "paper");
      Assert.Equal(newRPSGame.RPSWinner(),"player 1");
 }
 public void testRPSWinner_RockScissors_Player1()
 {
     RPSGame newRPSGame = new RPSGame("rock", "scissors");
      Assert.Equal(newRPSGame.RPSWinner(), "player 1");
 }
 public void testRPSWinner_RockRock_Draw()
 {
     RPSGame newRPSGame = new RPSGame("rock", "rock");
      Assert.Equal(newRPSGame.RPSWinner(), "draw");
 }
 public void testRPSWinner_RockPaper_Player2()
 {
     RPSGame newRPSGame = new RPSGame("rock", "paper");
      Assert.Equal(newRPSGame.RPSWinner(), "player 2");
 }
 public void testRPSWinner_PaperScissors_Player2()
 {
     RPSGame newRPSGame = new RPSGame("paper", "scissors");
      Assert.Equal(newRPSGame.RPSWinner(), "player 2");
 }
 public void testRPSWinner_PaperRock_Player1()
 {
     RPSGame newRPSGame = new RPSGame("paper", "rock");
      Assert.Equal(newRPSGame.RPSWinner(),"player 1");
 }