Add tests that run patrolling until completion #509
GitHub Actions / Test Results
completed
Dec 6, 2024 in 0s
❌️ Test Results - 217/219, failed: 2 - Failed in 300.430s
✅ editmode-results.xml - 33/33 - Passed in 0.247s
❌️ playmode-results.xml - 184/186, failed: 2 - Failed in 300.183s
Details
✅ editmode-results.xml - 33/33 - Passed in 0.247s
- ✅ EditTests.ComputeVisibilityTest.ComputeVisibilityOfPointFastBreakColumnTests - 12/12 - Passed in 0.047s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.021s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.003s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.003s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointFastBreakColumnTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ EditTests.ComputeVisibilityTest.ComputeVisibilityOfPointTests - 12/12 - Passed in 0.028s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.003s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ ComputeVisibilityOfPointTests(EditTests.ComputeVisibilityTest+TestCase) - Passed in 0.002s
- ✅ EditTests.CoverageCalculatorTest.AdjacentTilesAreCoveredTest - 6/6 - Passed in 0.066s
- ✅ AdjacentTilesAreCoveredTest(20.0f,20.0f) - Passed in 0.016s
- ✅ AdjacentTilesAreCoveredTest(20.5f,20.5f) - Passed in 0.010s
- ✅ AdjacentTilesAreCoveredTest(20.25f,20.25f) - Passed in 0.007s
- ✅ AdjacentTilesAreCoveredTest(20.75f,20.75f) - Passed in 0.014s
- ✅ AdjacentTilesAreCoveredTest(20.49f,20.49f) - Passed in 0.012s
- ✅ AdjacentTilesAreCoveredTest(20.99f,20.99f) - Passed in 0.006s
- ✅ EditTests.CoverageCalculatorTest - 3/3 - Passed in 0.037s
- ✅ CoverageTimeUpdateTest - Passed in 0.007s
- ✅ RobotOnTopOfTileCoverageTest - Passed in 0.009s
- ✅ TilesAreMarkedCoverableCorrectly - Passed in 0.021s
❌️ playmode-results.xml - 184/186, failed: 2 - Failed in 300.183s
- ✅ PlayModeTests.CommunicationTest.Broadcast_CorrectDistanceCalculation - 5/5 - Passed in 2.204s
- ✅ Broadcast_CorrectDistanceCalculation(20,20) - Passed in 0.906s
- ✅ Broadcast_CorrectDistanceCalculation(5,5) - Passed in 0.321s
- ✅ Broadcast_CorrectDistanceCalculation(5,-5) - Passed in 0.307s
- ✅ Broadcast_CorrectDistanceCalculation(-5,5) - Passed in 0.332s
- ✅ Broadcast_CorrectDistanceCalculation(-5,-5) - Passed in 0.338s
- ✅ PlayModeTests.CommunicationTest.Broadcast_WallDistanceIsApproximatelyCorrect - 4/4 - Passed in 1.324s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(1) - Passed in 0.314s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(2) - Passed in 0.334s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(5) - Passed in 0.339s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(10) - Passed in 0.338s
- ✅ PlayModeTests.CommunicationTest - 3/3 - Passed in 0.918s
- ✅ Broadcast_NoWallsCommunicationTest - Passed in 0.298s
- ✅ Broadcast_TransmissionFailedTest - Passed in 0.300s
- ✅ Broadcast_TransmissionSuccessTest - Passed in 0.320s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestStraightPath(0.5f,-9) - 1/1 - Passed in 1.094s
- ✅ EstimateTicksToTile_StraightPath - Passed in 1.094s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestStraightPath(1.0f,-5) - 1/1 - Passed in 0.830s
- ✅ EstimateTicksToTile_StraightPath - Passed in 0.830s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestStraightPath(1.5f,-8) - 1/1 - Passed in 0.717s
- ✅ EstimateTicksToTile_StraightPath - Passed in 0.717s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(0.5f,10,10,-39) - 1/1 - Passed in 3.208s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 3.208s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(0.5f,15,15,-31) - 1/1 - Passed in 2.547s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.547s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(0.5f,20,20,-31) - 1/1 - Passed in 2.169s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.169s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(0.5f,5,5,-42) - 1/1 - Passed in 4.018s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 4.018s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.0f,10,10,-27) - 1/1 - Passed in 2.337s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.337s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.0f,15,15,-23) - 1/1 - Passed in 1.935s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 1.935s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.0f,20,20,-29) - 1/1 - Passed in 1.679s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 1.679s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.0f,5,5,-17) - 1/1 - Passed in 2.704s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.704s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.5f,10,10,-43) - 1/1 - Passed in 2.003s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.003s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.5f,15,15,-39) - 1/1 - Passed in 1.736s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 1.736s
- ✅ PlayModeTests.EstimateTickTest.EstimateTestTurnsPath(1.5f,5,5,-36) - 1/1 - Passed in 2.312s
- ✅ EstimateTicksToTile_TurnsPath - Passed in 2.312s
- ✅ PlayModeTests.ExplorationCsvDataWriterTest - 1/1 - Passed in 0.256s
- ✅ ExplorationSnapshotToCsvTest - Passed in 0.256s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.CheckMultipleScenarioCanBeRunWithoutFailFaultInjectionTest(1,0,3) - 1/1 - Passed in 0.581s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.581s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.CheckMultipleScenarioCanBeRunWithoutFailFaultInjectionTest(1,1,5) - 1/1 - Passed in 0.947s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.947s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.CheckMultipleScenarioCanBeRunWithoutFailFaultInjectionTest(2,1,2) - 1/1 - Passed in 0.480s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.480s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.CheckMultipleScenarioCanBeRunWithoutFailFaultInjectionTest(2,2,7) - 1/1 - Passed in 1.527s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 1.527s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.CheckMultipleScenarioCanBeRunWithoutFailFaultInjectionTest(5,3,1) - 1/1 - Passed in 0.452s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.452s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomEveryTickFaultInjectionTest(1,0) - 1/1 - Passed in 0.314s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.314s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomEveryTickFaultInjectionTest(1,1) - 1/1 - Passed in 0.187s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.187s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomEveryTickFaultInjectionTest(10,7) - 1/1 - Passed in 0.832s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.832s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomEveryTickFaultInjectionTest(2,2) - 1/1 - Passed in 0.201s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.201s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomEveryTickFaultInjectionTest(5,3) - 1/1 - Passed in 0.489s
- ✅ DestroyRobotRandom_CheckRobotsDestroyFromStartToNumberOfRobotsToDestroy - Passed in 0.489s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomZeroProbabilityFaultInjectionTest(1) - 1/1 - Passed in 1.213s
- ✅ DestroyRobotRandom_ZeroDestroyedEnd - Passed in 1.213s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomZeroProbabilityFaultInjectionTest(10) - 1/1 - Passed in 9.601s
- ✅ DestroyRobotRandom_ZeroDestroyedEnd - Passed in 9.601s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomZeroProbabilityFaultInjectionTest(2) - 1/1 - Passed in 2.209s
- ✅ DestroyRobotRandom_ZeroDestroyedEnd - Passed in 2.209s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.Random.DestroyRobotsRandomZeroProbabilityFaultInjectionTest(5) - 1/1 - Passed in 4.767s
- ✅ DestroyRobotRandom_ZeroDestroyedEnd - Passed in 4.767s
- ✅ PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest.DestroyRobotAtSpecificTicks - 6/6 - Passed in 6.386s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 1.130s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 0.293s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 0.266s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 0.515s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 2.293s
- ✅ DestroyRobotAtSpecificTicks(PlayModeTests.FaultInjections.DestroyRobots.SpecificTick.DestroyRobotsAtTicksFaultInjectionTest+TestCase) - Passed in 1.889s
- ✅ PlayModeTests.MaterialCommunicationTest.Broadcast_CorrectDistanceCalculation - 5/5 - Passed in 1.590s
- ✅ Broadcast_CorrectDistanceCalculation(20,20) - Passed in 0.317s
- ✅ Broadcast_CorrectDistanceCalculation(5,5) - Passed in 0.310s
- ✅ Broadcast_CorrectDistanceCalculation(5,-5) - Passed in 0.333s
- ✅ Broadcast_CorrectDistanceCalculation(-5,5) - Passed in 0.319s
- ✅ Broadcast_CorrectDistanceCalculation(-5,-5) - Passed in 0.313s
- ✅ PlayModeTests.MaterialCommunicationTest.Broadcast_WallDistanceIsApproximatelyCorrect - 4/4 - Passed in 1.331s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(1) - Passed in 0.292s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(2) - Passed in 0.319s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(5) - Passed in 0.374s
- ✅ Broadcast_WallDistanceIsApproximatelyCorrect(10) - Passed in 0.346s
- ✅ PlayModeTests.MaterialCommunicationTest - 4/4 - Passed in 1.297s
- ✅ AttenuationCalculation - Passed in 0.342s
- ✅ Broadcast_NoWallsCommunicationTest - Passed in 0.325s
- ✅ Broadcast_TransmissionFailedTest - Passed in 0.321s
- ✅ Broadcast_TransmissionSuccessTest - Passed in 0.309s
- ✅ PlayModeTests.MinotaurDoorwayTest - 4/4 - Passed in 45.437s
- ✅ BlankMap - Passed in 10.441s
- ✅ Corner - Passed in 14.078s
- ✅ Hallway - Passed in 2.333s
- ✅ SingleDoorway - Passed in 18.584s
- ❌️ PlayModeTests.PatrollingSimulatorBuildingMapTestTest - 0/1, failed: 1 - Failed in 3.881s
- ❌️ TestConscientiousReactiveBuildingMap - Failed in 3.881s
System.InvalidOperationException : No path from vertex to neighbor
at Maes.Map.PatrollingMap.CreatePaths (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x00092] in Assets/Scripts/Map/PatrollingMap.cs:64
at Maes.Map.PatrollingMap..ctor (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x0000f] in Assets/Scripts/Map/PatrollingMap.cs:22
at Maes.Map.MapPatrollingGen.WatchmanRouteSolver.MakePatrollingMap (Maes.Map.SimulationMap`1[TCell] simulationMap, System.Boolean colorIslands) [0x00020] in Assets/Scripts/Map/MapPatrollingGen/WatchmanRouteSolver.cs:21
at Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario+<>c__DisplayClass9_0.<.ctor>b__1 (Maes.Map.SimulationMap`1[TCell] map) [0x00000] in Assets/Scripts/Simulation/SimulationScenarios/PatrollingSimulationScenario.cs:43
at Maes.Simulation.PatrollingSimulation.AfterCollisionMapGenerated (Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario scenario) [0x00001] in Assets/Scripts/Simulation/PatrollingSimulation.cs:35
at Maes.Simulation.SimulationBase`8[TSimulation,TVisualizer,TVisualizerTile,TTracker,TSimulationInfoUIController,TAlgorithm,TScenario,TRobotSpawner].SetScenario (TScenario scenario) [0x00031] in Assets/Scripts/Simulation/SimulationBase.cs:117
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].CreateSimulation (TScenario scenario) [0x00032] in Assets/Scripts/Simulation/SimulationManager.cs:270
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario simulationScenario) [0x0001d] in Assets/Scripts/Simulation/SimulationManager.cs:300
at Maes.Simulation.Simulator`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario scenario) [0x00001] in Assets/Scripts/Simulation/Simulator.cs:63
at PlayModeTests.PatrollingSimulatorBuildingMapTestTest.InitializeTestingSimulator () [0x00095] in Assets/PlayModeTests/PatrollingSimulatorBuildingMapTestTest.cs:40
at PlayModeTests.PatrollingSimulatorBuildingMapTestTest+<TestConscientiousReactiveBuildingMap>d__4.MoveNext () [0x00020] in Assets/PlayModeTests/PatrollingSimulatorBuildingMapTestTest.cs:68
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
- ❌️ TestConscientiousReactiveBuildingMap - Failed in 3.881s
- ❌️ PlayModeTests.PatrollingSimulatorCaveMapTestTest - 0/1, failed: 1 - Failed in 1.209s
- ❌️ TestConscientiousReactiveCaveMap - Failed in 1.209s
System.InvalidOperationException : No path from vertex to neighbor
at Maes.Map.PatrollingMap.CreatePaths (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x00092] in Assets/Scripts/Map/PatrollingMap.cs:64
at Maes.Map.PatrollingMap..ctor (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x0000f] in Assets/Scripts/Map/PatrollingMap.cs:22
at Maes.Map.MapPatrollingGen.WatchmanRouteSolver.MakePatrollingMap (Maes.Map.SimulationMap`1[TCell] simulationMap, System.Boolean colorIslands) [0x00020] in Assets/Scripts/Map/MapPatrollingGen/WatchmanRouteSolver.cs:21
at Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario+<>c__DisplayClass9_0.<.ctor>b__1 (Maes.Map.SimulationMap`1[TCell] map) [0x00000] in Assets/Scripts/Simulation/SimulationScenarios/PatrollingSimulationScenario.cs:43
at Maes.Simulation.PatrollingSimulation.AfterCollisionMapGenerated (Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario scenario) [0x00001] in Assets/Scripts/Simulation/PatrollingSimulation.cs:35
at Maes.Simulation.SimulationBase`8[TSimulation,TVisualizer,TVisualizerTile,TTracker,TSimulationInfoUIController,TAlgorithm,TScenario,TRobotSpawner].SetScenario (TScenario scenario) [0x00031] in Assets/Scripts/Simulation/SimulationBase.cs:117
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].CreateSimulation (TScenario scenario) [0x00032] in Assets/Scripts/Simulation/SimulationManager.cs:270
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario simulationScenario) [0x0001d] in Assets/Scripts/Simulation/SimulationManager.cs:300
at Maes.Simulation.Simulator`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario scenario) [0x00001] in Assets/Scripts/Simulation/Simulator.cs:63
at PlayModeTests.PatrollingSimulatorCaveMapTestTest.InitializeTestingSimulator () [0x00091] in Assets/PlayModeTests/PatrollingSimulatorCaveMapTestTest.cs:40
at PlayModeTests.PatrollingSimulatorCaveMapTestTest+<TestConscientiousReactiveCaveMap>d__4.MoveNext () [0x00020] in Assets/PlayModeTests/PatrollingSimulatorCaveMapTestTest.cs:68
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
- ❌️ TestConscientiousReactiveCaveMap - Failed in 1.209s
- ✅ PlayModeTests.Robot2DControllerTest.CheckTotalTraveledDistanceIsCorrect - 15/15 - Passed in 9.959s
- ✅ CheckTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.408s
- ✅ CheckTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.491s
- ✅ CheckTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.660s
- ✅ CheckTotalTraveledDistanceIsCorrect(10.0f) - Passed in 1.038s
- ✅ CheckTotalTraveledDistanceIsCorrect(20.0f) - Passed in 1.681s
- ✅ CheckTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.416s
- ✅ CheckTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.439s
- ✅ CheckTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.495s
- ✅ CheckTotalTraveledDistanceIsCorrect(10.0f) - Passed in 0.680s
- ✅ CheckTotalTraveledDistanceIsCorrect(20.0f) - Passed in 1.000s
- ✅ CheckTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.415s
- ✅ CheckTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.440s
- ✅ CheckTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.454s
- ✅ CheckTotalTraveledDistanceIsCorrect(10.0f) - Passed in 0.579s
- ✅ CheckTotalTraveledDistanceIsCorrect(20.0f) - Passed in 0.762s
- ✅ PlayModeTests.Robot2DControllerTest.CheckWithRotationTotalTraveledDistanceIsCorrect - 12/12 - Passed in 10.019s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.657s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.724s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.995s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(10.0f) - Passed in 1.622s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.621s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.656s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.779s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(10.0f) - Passed in 1.145s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(1.0f) - Passed in 0.620s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(2.0f) - Passed in 0.637s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(5.0f) - Passed in 0.722s
- ✅ CheckWithRotationTotalTraveledDistanceIsCorrect(10.0f) - Passed in 0.841s
- ✅ PlayModeTests.Robot2DControllerTest.EstimateDistanceToTarget_IsDistanceCorrectTest - 12/12 - Passed in 2.410s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.0f) - Passed in 0.189s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.1f) - Passed in 0.215s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.5f) - Passed in 0.188s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(3.0f) - Passed in 0.193s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.0f) - Passed in 0.208s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.1f) - Passed in 0.221s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.5f) - Passed in 0.208s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(3.0f) - Passed in 0.195s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.0f) - Passed in 0.186s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.1f) - Passed in 0.200s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(2.5f) - Passed in 0.199s
- ✅ EstimateDistanceToTarget_IsDistanceCorrectTest(3.0f) - Passed in 0.209s
- ✅ PlayModeTests.Robot2DControllerTest.EstimateTimeToTarget_IsTimeCorrectTest - 39/39 - Passed in 136.685s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(0.1f) - Passed in 0.311s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(1.0f) - Passed in 0.689s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.0f) - Passed in 1.500s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.1f) - Passed in 1.479s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.5f) - Passed in 1.480s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.6f) - Passed in 2.305s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(3.0f) - Passed in 2.299s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(4.0f) - Passed in 3.096s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(5.0f) - Passed in 3.980s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(7.5f) - Passed in 6.499s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(10.0f) - Passed in 8.200s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(15.0f) - Passed in 12.399s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(20.0f) - Passed in 16.599s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(0.1f) - Passed in 0.300s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(1.0f) - Passed in 0.610s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.0f) - Passed in 1.100s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.1f) - Passed in 1.100s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.5f) - Passed in 1.099s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.6f) - Passed in 1.700s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(3.0f) - Passed in 1.705s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(4.0f) - Passed in 2.320s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(5.0f) - Passed in 2.795s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(7.5f) - Passed in 4.520s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(10.0f) - Passed in 5.779s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(15.0f) - Passed in 8.331s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(20.0f) - Passed in 11.087s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(0.1f) - Passed in 0.310s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(1.0f) - Passed in 0.497s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.0f) - Passed in 0.900s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.1f) - Passed in 0.900s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.5f) - Passed in 0.899s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(2.6f) - Passed in 1.305s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(3.0f) - Passed in 1.300s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(4.0f) - Passed in 1.715s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(5.0f) - Passed in 2.100s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(7.5f) - Passed in 3.499s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(10.0f) - Passed in 4.383s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(15.0f) - Passed in 6.616s
- ✅ EstimateTimeToTarget_IsTimeCorrectTest(20.0f) - Passed in 8.979s
- ✅ PlayModeTests.Robot2DControllerTest.MoveTo_IsDistanceCorrectTest - 15/15 - Passed in 9.930s
- ✅ MoveTo_IsDistanceCorrectTest(1.0f) - Passed in 0.409s
- ✅ MoveTo_IsDistanceCorrectTest(2.0f) - Passed in 0.434s
- ✅ MoveTo_IsDistanceCorrectTest(5.0f) - Passed in 0.660s
- ✅ MoveTo_IsDistanceCorrectTest(10.0f) - Passed in 0.981s
- ✅ MoveTo_IsDistanceCorrectTest(20.0f) - Passed in 1.680s
- ✅ MoveTo_IsDistanceCorrectTest(1.0f) - Passed in 0.428s
- ✅ MoveTo_IsDistanceCorrectTest(2.0f) - Passed in 0.420s
- ✅ MoveTo_IsDistanceCorrectTest(5.0f) - Passed in 0.496s
- ✅ MoveTo_IsDistanceCorrectTest(10.0f) - Passed in 0.718s
- ✅ MoveTo_IsDistanceCorrectTest(20.0f) - Passed in 0.986s
- ✅ MoveTo_IsDistanceCorrectTest(1.0f) - Passed in 0.409s
- ✅ MoveTo_IsDistanceCorrectTest(2.0f) - Passed in 0.430s
- ✅ MoveTo_IsDistanceCorrectTest(5.0f) - Passed in 0.500s
- ✅ MoveTo_IsDistanceCorrectTest(10.0f) - Passed in 0.564s
- ✅ MoveTo_IsDistanceCorrectTest(20.0f) - Passed in 0.816s
- ✅ PlayModeTests.Robot2DControllerTest.Rotate_RotatesCorrectAmountOfDegrees - 27/27 - Passed in 11.877s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(1.0f) - Passed in 0.400s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-1.0f) - Passed in 0.420s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(2.0f) - Passed in 0.439s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(5.0f) - Passed in 0.440s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(10.0f) - Passed in 0.440s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(20.0f) - Passed in 0.439s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-20.0f) - Passed in 0.420s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(180.0f) - Passed in 0.420s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-180.0f) - Passed in 0.440s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(1.0f) - Passed in 0.417s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-1.0f) - Passed in 0.419s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(2.0f) - Passed in 0.439s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(5.0f) - Passed in 0.441s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(10.0f) - Passed in 0.419s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(20.0f) - Passed in 0.440s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-20.0f) - Passed in 0.420s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(180.0f) - Passed in 0.453s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-180.0f) - Passed in 0.666s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(1.0f) - Passed in 0.406s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-1.0f) - Passed in 0.440s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(2.0f) - Passed in 0.461s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(5.0f) - Passed in 0.438s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(10.0f) - Passed in 0.439s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(20.0f) - Passed in 0.441s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-20.0f) - Passed in 0.419s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(180.0f) - Passed in 0.439s
- ✅ Rotate_RotatesCorrectAmountOfDegrees(-180.0f) - Passed in 0.421s
Annotations
Check failure on line 64 in Assets/Scripts/Map/PatrollingMap.cs
github-actions / Test Results
PlayModeTests.PatrollingSimulatorBuildingMapTestTest.TestConscientiousReactiveBuildingMap
System.InvalidOperationException : No path from vertex to neighbor
Raw output
at Maes.Map.PatrollingMap.CreatePaths (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x00092] in /github/workspace/Assets/Scripts/Map/PatrollingMap.cs:64
at Maes.Map.PatrollingMap..ctor (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x0000f] in /github/workspace/Assets/Scripts/Map/PatrollingMap.cs:22
at Maes.Map.MapPatrollingGen.WatchmanRouteSolver.MakePatrollingMap (Maes.Map.SimulationMap`1[TCell] simulationMap, System.Boolean colorIslands) [0x00020] in /github/workspace/Assets/Scripts/Map/MapPatrollingGen/WatchmanRouteSolver.cs:21
at Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario+<>c__DisplayClass9_0.<.ctor>b__1 (Maes.Map.SimulationMap`1[TCell] map) [0x00000] in /github/workspace/Assets/Scripts/Simulation/SimulationScenarios/PatrollingSimulationScenario.cs:43
at Maes.Simulation.PatrollingSimulation.AfterCollisionMapGenerated (Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario scenario) [0x00001] in /github/workspace/Assets/Scripts/Simulation/PatrollingSimulation.cs:35
at Maes.Simulation.SimulationBase`8[TSimulation,TVisualizer,TVisualizerTile,TTracker,TSimulationInfoUIController,TAlgorithm,TScenario,TRobotSpawner].SetScenario (TScenario scenario) [0x00031] in /github/workspace/Assets/Scripts/Simulation/SimulationBase.cs:117
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].CreateSimulation (TScenario scenario) [0x00032] in /github/workspace/Assets/Scripts/Simulation/SimulationManager.cs:270
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario simulationScenario) [0x0001d] in /github/workspace/Assets/Scripts/Simulation/SimulationManager.cs:300
at Maes.Simulation.Simulator`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario scenario) [0x00001] in /github/workspace/Assets/Scripts/Simulation/Simulator.cs:63
at PlayModeTests.PatrollingSimulatorBuildingMapTestTest.InitializeTestingSimulator () [0x00095] in /github/workspace/Assets/PlayModeTests/PatrollingSimulatorBuildingMapTestTest.cs:40
at PlayModeTests.PatrollingSimulatorBuildingMapTestTest+<TestConscientiousReactiveBuildingMap>d__4.MoveNext () [0x00020] in /github/workspace/Assets/PlayModeTests/PatrollingSimulatorBuildingMapTestTest.cs:68
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Check failure on line 64 in Assets/Scripts/Map/PatrollingMap.cs
github-actions / Test Results
PlayModeTests.PatrollingSimulatorCaveMapTestTest.TestConscientiousReactiveCaveMap
System.InvalidOperationException : No path from vertex to neighbor
Raw output
at Maes.Map.PatrollingMap.CreatePaths (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x00092] in /github/workspace/Assets/Scripts/Map/PatrollingMap.cs:64
at Maes.Map.PatrollingMap..ctor (Maes.Map.Vertex[] vertices, Maes.Map.SimulationMap`1[TCell] simulationMap) [0x0000f] in /github/workspace/Assets/Scripts/Map/PatrollingMap.cs:22
at Maes.Map.MapPatrollingGen.WatchmanRouteSolver.MakePatrollingMap (Maes.Map.SimulationMap`1[TCell] simulationMap, System.Boolean colorIslands) [0x00020] in /github/workspace/Assets/Scripts/Map/MapPatrollingGen/WatchmanRouteSolver.cs:21
at Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario+<>c__DisplayClass9_0.<.ctor>b__1 (Maes.Map.SimulationMap`1[TCell] map) [0x00000] in /github/workspace/Assets/Scripts/Simulation/SimulationScenarios/PatrollingSimulationScenario.cs:43
at Maes.Simulation.PatrollingSimulation.AfterCollisionMapGenerated (Maes.Simulation.SimulationScenarios.PatrollingSimulationScenario scenario) [0x00001] in /github/workspace/Assets/Scripts/Simulation/PatrollingSimulation.cs:35
at Maes.Simulation.SimulationBase`8[TSimulation,TVisualizer,TVisualizerTile,TTracker,TSimulationInfoUIController,TAlgorithm,TScenario,TRobotSpawner].SetScenario (TScenario scenario) [0x00031] in /github/workspace/Assets/Scripts/Simulation/SimulationBase.cs:117
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].CreateSimulation (TScenario scenario) [0x00032] in /github/workspace/Assets/Scripts/Simulation/SimulationManager.cs:270
at Maes.Simulation.SimulationManager`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario simulationScenario) [0x0001d] in /github/workspace/Assets/Scripts/Simulation/SimulationManager.cs:300
at Maes.Simulation.Simulator`3[TSimulation,TAlgorithm,TScenario].EnqueueScenario (TScenario scenario) [0x00001] in /github/workspace/Assets/Scripts/Simulation/Simulator.cs:63
at PlayModeTests.PatrollingSimulatorCaveMapTestTest.InitializeTestingSimulator () [0x00091] in /github/workspace/Assets/PlayModeTests/PatrollingSimulatorCaveMapTestTest.cs:40
at PlayModeTests.PatrollingSimulatorCaveMapTestTest+<TestConscientiousReactiveCaveMap>d__4.MoveNext () [0x00020] in /github/workspace/Assets/PlayModeTests/PatrollingSimulatorCaveMapTestTest.cs:68
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Loading