Skip to content

Fix travel angle being off #312

Fix travel angle being off

Fix travel angle being off #312

GitHub Actions / Test Results failed Sep 29, 2024 in 0s

1 fail, 7 skipped, 103 pass in 9s

111 tests  ±0   103 ✅  - 1   9s ⏱️ -2s
 22 suites ±0     7 💤 ±0 
 22 files   ±0     1 ❌ +1 

Results for commit 0a02650. ± Comparison against earlier commit ae98236.

Annotations

Check warning on line 0 in ninjabrainbot.integrationtests.ApiV1IntegrationTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

allAdvancements (ninjabrainbot.integrationtests.ApiV1IntegrationTests) failed

target/surefire-reports/TEST-ninjabrainbot.integrationtests.ApiV1IntegrationTests.xml [took 0s]
Raw output
expected: <{"generalLocation":{},"spawn":{"overworldDistance":5007,"xInOverworld":-215,"zInOverworld":185,"travelAngle":137.57282532371786},"cityQuery":{},"monument":{"overworldDistance":1,"xInOverworld":3357,"zInOverworld":3693,"travelAngle":179.88264305940854},"shulkerTransport":{},"stronghold":{"overworldDistance":4247,"xInOverworld":2212,"zInOverworld":-396,"travelAngle":142.2910279309858},"deepDark":{},"isAllAdvancementsModeEnabled":true,"outpost":{}}> but was: <{"generalLocation":{},"spawn":{"overworldDistance":5007,"xInOverworld":-215,"zInOverworld":185,"travelAngle":134.48365647425098},"cityQuery":{},"monument":{"overworldDistance":1,"xInOverworld":3357,"zInOverworld":3693,"travelAngle":141.5819446551723},"shulkerTransport":{},"stronghold":{"overworldDistance":4247,"xInOverworld":2212,"zInOverworld":-396,"travelAngle":164.35091545590393},"deepDark":{},"isAllAdvancementsModeEnabled":true,"outpost":{}}>
org.opentest4j.AssertionFailedError: expected: <{"generalLocation":{},"spawn":{"overworldDistance":5007,"xInOverworld":-215,"zInOverworld":185,"travelAngle":137.57282532371786},"cityQuery":{},"monument":{"overworldDistance":1,"xInOverworld":3357,"zInOverworld":3693,"travelAngle":179.88264305940854},"shulkerTransport":{},"stronghold":{"overworldDistance":4247,"xInOverworld":2212,"zInOverworld":-396,"travelAngle":142.2910279309858},"deepDark":{},"isAllAdvancementsModeEnabled":true,"outpost":{}}> but was: <{"generalLocation":{},"spawn":{"overworldDistance":5007,"xInOverworld":-215,"zInOverworld":185,"travelAngle":134.48365647425098},"cityQuery":{},"monument":{"overworldDistance":1,"xInOverworld":3357,"zInOverworld":3693,"travelAngle":141.5819446551723},"shulkerTransport":{},"stronghold":{"overworldDistance":4247,"xInOverworld":2212,"zInOverworld":-396,"travelAngle":164.35091545590393},"deepDark":{},"isAllAdvancementsModeEnabled":true,"outpost":{}}>
	at ninjabrainbot.integrationtests.ApiV1IntegrationTests.allAdvancements(ApiV1IntegrationTests.java:148)
[main] Time to construct prior: 0.001 seconds.
[main] Time to triangulate: 0.003 seconds.
[main] Received request: /api/v1/all-advancements
{"generalLocation":{},"spawn":{"overworldDistance":5007,"xInOverworld":-215,"zInOverworld":185,"travelAngle":134.48365647425098},"cityQuery":{},"monument":{"overworldDistance":1,"xInOverworld":3357,"zInOverworld":3693,"travelAngle":141.5819446551723},"shulkerTransport":{},"stronghold":{"overworldDistance":4247,"xInOverworld":2212,"zInOverworld":-396,"travelAngle":164.35091545590393},"deepDark":{},"isAllAdvancementsModeEnabled":true,"outpost":{}}

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

7 skipped tests found

There are 7 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
ninjabrainbot.integrationtests.ApplicationTests ‑ doesNotCrashOnStartup
ninjabrainbot.integrationtests.CalibrationIntegrationTests ‑ canOpenDialog
ninjabrainbot.integrationtests.CalibrationIntegrationTests ‑ canOpenDialog_manualCalibration
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_empty
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_failed
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_triangulation
ninjabrainbot.integrationtests.ThemeEditorIntegrationTests ‑ canOpenDialog

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

111 tests found

There are 111 tests, see "Raw output" for the full list of tests.
Raw output
ninjabrainbot.event.DisposeHandlerTest ‑ disposesAll
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ deserializeColor
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ deserialize_serialize_shouldBeIdenticalToOriginal
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ deserizlizeColor_shouldFail
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ deserizlizeColor_shouldThrow
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ serialize
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ serializeColor
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ serialize_deserialize_shouldBeIdenticalToOriginal_blue
ninjabrainbot.gui.themeeditor.ThemeSerializerTests ‑ serialize_deserialize_shouldBeIdenticalToOriginal_light
ninjabrainbot.integrationtests.AllAdvancementsIntegrationTests ‑ uiUpdatesAsExpected_HotkeysAreDisabledInAaMode{String, String, String, int, int}[1]
ninjabrainbot.integrationtests.AllAdvancementsIntegrationTests ‑ uiUpdatesAsExpected_TypicalAASpeedrun{String, String, String, int, int, String, int, int, String, int, int, String, int, int}[1]
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ allAdvancements
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ blind
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ boat
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ divine
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ ping
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ stronghold
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ subscribe_doesNotPushNewDataWhenIrrelevantDataIsModified
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ subscribe_pushesNewDataWhenModified
ninjabrainbot.integrationtests.ApiV1IntegrationTests ‑ version
ninjabrainbot.integrationtests.ApplicationTests ‑ doesNotCrashOnStartup
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Bad{String, double}[1]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Bad{String, double}[2]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Excellent{String, double}[1]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Excellent{String, double}[2]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Excellent{String, double}[3]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Excellent{String, double}[4]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_Excellent{String, double}[5]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_NotInRing{String, double}[1]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_NotInRing{String, double}[2]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_NotInRing{String, double}[3]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_NotInRing{String, double}[4]
ninjabrainbot.integrationtests.BlindTests ‑ blindCalculationGivesExpectedResult_NotInRing{String, double}[5]
ninjabrainbot.integrationtests.BlindTests ‑ blindWithDivine_InDivineSector{String, String, double, double}[1]
ninjabrainbot.integrationtests.BlindTests ‑ blindWithDivine_NotInDivineSector{String, String, double}[1]
ninjabrainbot.integrationtests.BoatCalculatedTravelTests ‑ oneEyeBoatCalculatedTravelEyeSpies_doogilePositionImprecision{String, String, int, int, int}[1]
ninjabrainbot.integrationtests.BoatCalculatedTravelTests ‑ oneEyeBoatCalculatedTravelEyeSpies{String, String, int, int, int}[1]
ninjabrainbot.integrationtests.BoatCalculatedTravelTests ‑ oneEyeBoatCalculatedTravelEyeSpies{String, String, int, int, int}[2]
ninjabrainbot.integrationtests.BoatCalculatedTravelTests ‑ oneEyeBoatCalculatedTravelEyeSpies{String, String, int, int, int}[3]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelEyeSpies{String, String, int, int}[1]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelEyeSpies{String, String, int, int}[2]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelEyeSpies{String, String, int, int}[3]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelFailsWhenMoving{String, String}[1]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelFailsWhenMoving{String, String}[2]
ninjabrainbot.integrationtests.CalculatedTravelTests ‑ twoEyeCalculatedTravelFailsWhenMoving{String, String}[3]
ninjabrainbot.integrationtests.CalibrationIntegrationTests ‑ canOpenDialog
ninjabrainbot.integrationtests.CalibrationIntegrationTests ‑ canOpenDialog_manualCalibration
ninjabrainbot.integrationtests.DataStateIntegrationTests ‑ dataComponentsOnlySendsOneEventOnReset
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_empty
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_failed
ninjabrainbot.integrationtests.JsonIntegrationTests ‑ testJson_triangulation
ninjabrainbot.integrationtests.NextDirectionProviderIntegrationTests ‑ expectedCertaintyOnNextThrowIsAtLeastAsGoodAsPromised
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[1]
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[2]
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[3]
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[4]
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[5]
ninjabrainbot.integrationtests.PreferencesIntegrationTests ‑ CrosshairCorrectionIntegrationTest{float}[6]
ninjabrainbot.integrationtests.ThemeEditorIntegrationTests ‑ canOpenDialog
ninjabrainbot.io.LanguageResourcesTest ‑ allLanguagesAreRegistered
ninjabrainbot.model.ResultTypeProviderTests ‑ resultTypeUpdatesCorrectly
ninjabrainbot.model.domainmodel.DomainModelTests ‑ duplicateStatesAreNotSavedForUndo
ninjabrainbot.model.domainmodel.DomainModelTests ‑ maxNumberOfUndoSteps
ninjabrainbot.model.domainmodel.DomainModelTests ‑ noRaceConditionsDuringAttemptedConcurrentModification
ninjabrainbot.model.domainmodel.DomainModelTests ‑ undoRedoWithDataComponent
ninjabrainbot.model.domainmodel.DomainModelTests ‑ undoRedoWithListComponent
ninjabrainbot.model.domainmodel.ListComponentTests ‑ getAsImmutable
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorldExecutesResetAction{boolean}[1]
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorldExecutesResetAction{boolean}[2]
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorld_AAModeEnabled_DoesNotExecuteResetAction{boolean}[1]
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorld_AAModeEnabled_DoesNotExecuteResetAction{boolean}[2]
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorld_FromNull_DoesNotExecuteResetAction{boolean}[1]
ninjabrainbot.model.input.ActiveInstanceInputHandlerTest ‑ changingMinecraftWorld_FromNull_DoesNotExecuteResetAction{boolean}[2]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ approximatedPriorShouldBeNonZeroIfTruePriorIsNonZero
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[1]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[2]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[3]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[1]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[2]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[3]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[4]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilitySumsToNumberOfStringholds{int}[1]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilitySumsToNumberOfStringholds{int}[2]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilitySumsToNumberOfStringholds{int}[3]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ probabilitySumsToNumberOfStringholds{int}[4]
ninjabrainbot.model.statistics.ApproximatedPriorTests ‑ testApproximationAccuracyFirstRing
ninjabrainbot.model.statistics.PriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[1]
ninjabrainbot.model.statistics.PriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[2]
ninjabrainbot.model.statistics.PriorTests ‑ getChunks_returnsCorrectChunkCoords{int, int, int}[3]
ninjabrainbot.model.statistics.PriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[1]
ninjabrainbot.model.statistics.PriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[2]
ninjabrainbot.model.statistics.PriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[3]
ninjabrainbot.model.statistics.PriorTests ‑ probabilityAtGivenCoordsIsIndependentOfRadiusOfPrior{int, int, int}[4]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds_withFossilDivine{int}[1]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds_withFossilDivine{int}[2]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds_withFossilDivine{int}[3]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds_withFossilDivine{int}[4]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds_withFossilDivine{int}[5]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds{int}[1]
ninjabrainbot.model.statistics.PriorTests ‑ probabilitySumsToNumberOfStrongholds{int}[2]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracyFirstRing{double, double, double}[1]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracyFirstRing{double, double, double}[2]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracyFirstRing{double, double, double}[3]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracySecondRing{double, double, double}[1]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracySecondRing{double, double, double}[2]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracySecondRing{double, double, double}[3]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ approximationAccuracySecondRing{double, double, double}[4]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ probabilitiesAreIdenticalToApproximatedPrior{double, double, double}[1]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ probabilitiesAreIdenticalToApproximatedPrior{double, double, double}[2]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ probabilitiesAreIdenticalToApproximatedPrior{double, double, double}[3]
ninjabrainbot.model.statistics.RayApproximatedPriorTests ‑ probabilitiesAreIdenticalToApproximatedPrior{double, double, double}[4]