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