## Test ModularBot gun switching against OscillatorBot (moving enemy) import common_libs/test_framework/test_framework let result = runBattle( @[ "/home/davide/Projects/SirRoboGarage/ModularBot_garage", "/home/davide/Projects/SirRoboGarage/common_libs/test_framework/adversaries/OscillatorBot" ], rounds = 5, timeout = 120000, maxSpeed = true ) echo "" echo "=== Gun Switching Test: ModularBot vs OscillatorBot ===" echo "Total Rounds: " & $result.rounds.len echo "" for round in result.rounds: echo "Round " & $round.round & ":" for botRes in round.results: echo " " & botRes.name & ": score=" & $botRes.score & " rank=" & $botRes.rank & " survived=" & $botRes.survived echo "" echo "Final Results:" for botRes in result.results: echo " " & botRes.name & ": totalScore=" & $botRes.totalScore & " rank=" & $botRes.rank & " firstPlaces=" & $botRes.firstPlaces echo "" echo "Winners: " & $result.winners