public void TestHashCode( int player1OfMatch1, int player2OfMatch1, int player1OfMatch2, int player2OfMatch2 ) { Matchup <int> firstMatchup = new Matchup <int>(player1OfMatch1, player2OfMatch1); Matchup <int> secondMatchup = new Matchup <int>(player1OfMatch2, player2OfMatch2); Assert.Equal(firstMatchup.GetHashCode(), secondMatchup.GetHashCode()); }