public void MonopolyCheckerTest() { int[] OriAndVerRent = new int[6] { 6, 30, 90, 270, 400, 550 }; RegularProperty oriental = new RegularProperty("Oriental Avenue", 100, 6, 50, OriAndVerRent, RegularProperty.ColorGroup.LightBlue); RegularProperty vermont = new RegularProperty("Vermont Avenue", 100, 8, 50, OriAndVerRent, RegularProperty.ColorGroup.LightBlue); int[] ConnectRent = new int[6] { 8, 40, 100, 300, 450, 600 }; RegularProperty connecticut = new RegularProperty("Connecticut Avenue", 120, 9, 50, ConnectRent, RegularProperty.ColorGroup.LightBlue); int[] PPRent = new int[6] { 35, 175, 500, 1100, 1300, 1500 }; RegularProperty parkPlace = new RegularProperty("Park Place", 350, 37, 200, PPRent, RegularProperty.ColorGroup.DarkBlue); int[] BWRent = new int[6] { 50, 200, 600, 1400, 1700, 2000 }; RegularProperty boardWalk = new RegularProperty("Boardwalk", 400, 39, 200, BWRent, RegularProperty.ColorGroup.DarkBlue); IProperty[] owned = new IProperty[] { oriental, vermont, parkPlace, boardWalk }; Player testPlayer = new Player("Chris", Player.Token.RaceCar, 1500, owned); Assert.IsTrue(Monopoly.MonopolyChecker(testPlayer, boardWalk)); Assert.IsFalse(Monopoly.MonopolyChecker(testPlayer, vermont)); testPlayer.OwnedProperties.Append(connecticut); Assert.IsTrue(Monopoly.MonopolyChecker(testPlayer, connecticut)); }