#!/bin/bash cd "$(dirname "$0")/.." # Create a test GPX file with a simple route cat > test_route.gpx << EOF Test Route 10 20 30 40 50 60 70 80 90 100 EOF # Run the bicycle planner with a 1-night forced stop echo "Testing with 1-night forced stop at 59.5,18.5" go run main.go --input="test_route.gpx" --days=5 --elevFactor=4 --forestRadius=5 --resupplyRadius=5000 --multiStop="59.5,18.5:1" # The number of segments is now shown in the output echo "Check the output above for the number of segments created" # Clean up rm test_route.gpx