CodexFlow_TM / tests /test_core.py
LordXido's picture
Create tests/test_core.py
d5cb1af verified
raw
history blame contribute delete
202 Bytes
import pytest
from core_engine import harmonize_price
def test_harmonize_basic():
out = harmonize_price(100, 80, 0.5)
assert out["harmonized_price"] < 100
assert 0 <= out["confidence"] <= 1