Compare commits

..

No commits in common. "ed538a881004b64c2424f55f91b9b654991fdc68" and "1a3284cb5588b2a334ed894ed5bd6f9cee3c3b21" have entirely different histories.

2 changed files with 0 additions and 8 deletions

View File

@ -1,2 +0,0 @@
def discount_price(price: float, percent: float) -> float:
return price - price * percent / 100

View File

@ -1,6 +0,0 @@
from src.tutorial.testing.shop.pricing import discount_price
def test_discount_price_reduces_price():
result = discount_price(100.0, 20.0)
assert result == 80