Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Sep 13, 2024
1 parent 6bf3f39 commit c4cca15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ internal class MapFileReaderTest {
val map1 = TestUtils.getInputStream("/maps/bfme2-rotwk/map mp harlond.zlib").use(MapFileReader()::read)

assertThat(map1).isNotNull
assertThat(map1.objects.objects.any { it.roadType == RoadType.UNKNOWN_5 }).isTrue
assertThat(map1.objects.objects.any { it.roadType == RoadType.UNKNOWN_130 }).isTrue

val map2 = TestUtils.getInputStream("/maps/bfme2-rotwk/map mp stockbrook.map").use(MapFileReader()::read)

assertThat(map2).isNotNull
assertThat(map2.objects.objects.any { it.roadType == RoadType.UNKNOWN_13 }).isTrue
assertThat(map2.objects.objects.any { it.roadType == RoadType.UNKNOWN_24 }).isTrue
}

@Test
Expand Down

0 comments on commit c4cca15

Please sign in to comment.