public void Peasant_To_Peasant_Attack() { var unit = new Creature(1, 1, 1, 2); Damage damage = unit.PureDamage(unit); Assert.That(damage, Is.Damage(new Damage(1, 2))); }
public void Equals_With_Tolerance_With_Custom_Constraint() { var damage = new Damage(1, 2); var other = new Damage(1, 1.999); Assert.That(damage, Is.Damage(other)); }