mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-18 04:23:25 +03:00
11 lines
292 B
Python
11 lines
292 B
Python
from dependency_injector.wiring import inject, Provide
|
|
|
|
from wiringfastdepends import sample
|
|
|
|
|
|
def test_apply_coefficient() -> None:
|
|
assert sample.apply_coefficient(100) == 120.0
|
|
|
|
|
|
def test_apply_coefficient_annotated() -> None:
|
|
assert sample.apply_coefficient_annotated(100) == 120.0 |