public void CannotCreateGolfPlayerWithEmptyName() { Assert.Catch(() => { var x = new GolfPlayer("", "", 0); }); }
public void GolfPlayerNameReturnsSameValueUsedForInitialization() { var x = new GolfPlayer("Test Player", "", 0); Assert.IsTrue(x.Name == "Test Player"); }