public void BohnanzaPlayerConstructorTest() { const string name = "Peter"; var target = new BohnanzaPlayer(name); Assert.IsInstanceOfType(target, typeof(BohnanzaPlayer)); Assert.AreEqual(target._name, name); }
internal virtual Player CreatePlayer() { Player target = new BohnanzaPlayer("Peter"); return target; }
public void MyTestInitialize() { _player = new BohnanzaPlayer("Peter"); Deck.ProduceBohnanzaDeck(); }