import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from shipping_cost.calculator import quote

weight=10.0
expected=19.00
r=quote(weight)
print(f"input weight_kg={weight:.1f}")
print(f"expected_total={expected:.2f}")
print(f"observed_total={r.total:.2f}")
print(f"band={r.band} variable={r.variable_charge:.2f} handling={r.handling:.2f}")
print("MATCH" if r.total==expected else "MISMATCH")
