Skip to content

Commit

Permalink
remove check depending on app pulses
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed Apr 19, 2024
1 parent e80a1bd commit c4b12bc
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/test/kotlin/solve/interactive/scene/SceneFacadeTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c4b12bc

Please sign in to comment.