LordXido commited on
Commit
d5cb1af
·
verified ·
1 Parent(s): 9179f46

Create tests/test_core.py

Browse files
Files changed (1) hide show
  1. tests/test_core.py +7 -0
tests/test_core.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import pytest
2
+ from core_engine import harmonize_price
3
+
4
+ def test_harmonize_basic():
5
+ out = harmonize_price(100, 80, 0.5)
6
+ assert out["harmonized_price"] < 100
7
+ assert 0 <= out["confidence"] <= 1