返回 DeepSeek-Reasonix
1 #!/usr/bin/env bash
2 set -e
3 export PYTHONPYCACHEPREFIX="$(mktemp -d)"
4 python3 - <<'PY'
5 import geo, store
6 assert hasattr(geo, "EARTH_RADIUS_KM") and not hasattr(geo, "earthRadiusKm")
7 assert hasattr(geo, "dist") and not hasattr(geo, "Dist")
8 assert hasattr(store, "near_by") and not hasattr(store, "NearBy")
9 assert store.near_by(0.0001, 0.0)
10 assert not store.near_by(1.0, 0.0)
11 PY
12
12 lines BASH