public void PermanentDamageDeathTest() { var c1 = new Creature(1, 2); var c2 = new Creature(1, 3); CardGame game = new PermanentCardDamage(new[] { c1, c2 }); Assert.That(game.Combat(0, 1), Is.EqualTo(-1)); Assert.That(game.Combat(0, 1), Is.EqualTo(1)); }
public void PermanentDamageDeathTest() { // Arrange var c1 = new Creature(attack: 1, health: 2); var c2 = new Creature(attack: 1, health: 3); // Act CardGame game = new PermanentCardDamage(new[] { c1, c2 }); // Assert game.Combat(0, 1).Should().Be(-1); game.Combat(0, 1).Should().Be(1); }