add project

This commit is contained in:
GuilhermeStrice
2025-07-09 19:31:34 +01:00
parent 8d2e88edf4
commit f37078157d
44 changed files with 7680 additions and 0 deletions

35
CommandTests/04_geo_tests.sh Executable file
View File

@ -0,0 +1,35 @@
#!/bin/bash
echo "=== Geo Commands Test ==="
echo "1. Testing GEOADD..."
dotnet run -- geoadd cities 2.3522 48.8566 London 2.2945 48.8584 Paris 13.4050 52.5200 Berlin 12.4964 41.9028 Rome -i localhost
echo ""
echo "2. Testing GEOHASH..."
dotnet run -- geohash cities London Paris -i localhost
echo ""
echo "3. Testing GEOPOS..."
dotnet run -- geopos cities London Berlin Rome -i localhost
echo ""
echo "4. Testing GEODIST..."
dotnet run -- geodist cities London Paris --unit km -i localhost
dotnet run -- geodist cities London Berlin --unit mi -i localhost
echo ""
echo "5. Testing GEORADIUS..."
dotnet run -- georadius cities 2.3522 48.8566 1000 --unit km -i localhost
echo ""
echo "6. Testing GEOHASH with multiple members..."
dotnet run -- geohash cities London Paris Berlin Rome -i localhost
echo ""
echo "7. Testing GEOPOS with multiple members..."
dotnet run -- geopos cities London Paris Berlin Rome -i localhost
echo ""
echo "Geo Commands Test Complete!"
echo ""