Пример #1
0
        public Property Inverse_add_remove(Price anyPrice)
        {
            this.output.WriteLine(anyPrice.ToString());

            var priceWithTaxes    = anyPrice.AddTaxes();
            var priceWithoutTaxes = priceWithTaxes.RemoveTaxes();

            return((Math.Abs(decimal.Subtract(anyPrice.Value, priceWithoutTaxes.Value)) < 0.00001m).ToProperty());
        }