Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Jan 19, 2025
1 parent c57a0d3 commit e03de54
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ class MainDataHandlerTest {
assertThat(receivedEvents).contains(REQUEST_STARTED_EVENT)
}

@Test
fun onZoomWithoutEvent() {
val result = uut.onZoom(null)

assertThat(result).isFalse
}

@Test
fun reactOnZoomWithinDataArea() {
val mapView = mockk<OwnMapView>();
Expand Down

0 comments on commit e03de54

Please sign in to comment.