public void testValidateAbilitiesReturnsTrueAt27PointBuy()
 {
     Player player = new Player();
     player.assignAbility("dexterity", 15);
     player.assignAbility("intelligence", 15);
     player.assignAbility("wisdom", 15);
     Assert.IsTrue(player.validateAbilities());
 }
 public void testValidateAbilitiesReturnsFalseAt26PointBuy()
 {
     Player player = new Player();
     player.assignAbility("dexterity", 15);
     player.assignAbility("intelligence", 15);
     player.assignAbility("wisdom", 14);
     player.assignAbility("charisma", 9);
     Assert.IsFalse(player.validateAbilities());
 }
 public void testPlayerAbilitiesAddToPaidInPointBuy()
 {
     Player player = new Player();
     int pointsLeft = player.assignAbility("strength", 14);
     Assert.AreEqual(20, pointsLeft);
 }