public void ShouldReturnKnockbackPosition(IPosition actor, IPosition target, float distance, IPosition expected) { var actual = actor.CalculateKnockBackPosition(target, distance); Assert.Equal(expected.GetVector2(), actual.GetVector2()); }
protected IPosition CalculateKnockBackPosition(IPosition actor, IPosition target, float distance) { return(actor.CalculateKnockBackPosition(target, distance)); }