Improve testListGroups()

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent ad5f714982
commit 2dda87fa4a
  1. 4
      cache/src/test/java/dev/openrs2/cache/DiskStoreTest.kt

@ -187,6 +187,10 @@ object DiskStoreTest {
assertEquals(listOf(1), store.list(255)) assertEquals(listOf(1), store.list(255))
} }
readTest("fragmented") { store ->
assertEquals(listOf(0, 1), store.list(255))
}
readTest("single-block-extended") { store -> readTest("single-block-extended") { store ->
assertEquals(listOf(65536), store.list(255)) assertEquals(listOf(65536), store.list(255))
} }

Loading…
Cancel
Save