Closed artursmet closed 8 years ago
I'd like to rename FractionDiscount
to FractionalDiscount
.
Can we also test repr
?
Also currently PercentageDiscount
does not have any specific properties so it could be replaced by a function that returns a FractionalDiscount
instance.
@patrys Refactored, now percentage_discount is a function, instead of class
Current coverage is
94.00%