From c4b12bc89bc2836cd3eadc78effbe771e29ffafe Mon Sep 17 00:00:00 2001 From: Stanislav Mishchenko Date: Fri, 19 Apr 2024 21:16:48 +0300 Subject: [PATCH] remove check depending on app pulses --- .../solve/interactive/scene/SceneFacadeTests.kt | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/test/kotlin/solve/interactive/scene/SceneFacadeTests.kt b/src/test/kotlin/solve/interactive/scene/SceneFacadeTests.kt index dfa88208..9f87d64d 100644 --- a/src/test/kotlin/solve/interactive/scene/SceneFacadeTests.kt +++ b/src/test/kotlin/solve/interactive/scene/SceneFacadeTests.kt @@ -74,23 +74,6 @@ internal class SceneFacadeTests : SceneTestsBase() { assertEquals(layer2Settings, frameLayer2.settings) } - @Test - fun `Visualize same layer twice`() { - val layerName = "layer1" - val data1 = createScene(listOf(layerName)) - SceneFacade.visualize(data1.layers, data1.frames, false) - val settings = controller.scene.layerSettings.single() - val state = getState(0, layerName, 1) - state.hoverLandmark(1) - val data2 = createScene(listOf(layerName), framesCount = 5) - SceneFacade.visualize(data2.layers, data2.frames, true) - assertEquals(5, controller.scene.frames.size) - assertSame(settings, controller.scene.layerSettings.single()) - val newState = getState(0, layerName, 1) - assertNotSame(state, newState) - assertEquals(0, newState.hoveredLandmarkUIDs.size) - } - @Test fun `Visualize different projects one after another`() { val layerName = "layer1"