import sys, os sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))) from comparator.field_compare import compare_field, DEFAULT_TOLERANCE def test_negative_numbers(): assert compare_field("AMT", "-1500", "-1500", "decimal").status == "PASS" def test_mixed_precision(): assert compare_field("AMT", "1500.00", "1500", "decimal", DEFAULT_TOLERANCE).status == "PASS" def test_very_large_number(): assert compare_field("AMT", "9999999999", "9999999999", "decimal").status == "PASS"