- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for commonPrefixOf (0.72 sec)
-
platforms/core-configuration/kotlin-dsl-tooling-builders/src/test/kotlin/org/gradle/kotlin/dsl/tooling/builders/CommonListPrefixTest.kt
assertThat( commonPrefixOf(listOf(a, b)), equalTo(listOf("a", "b", "c")) ) } @Test fun `empty lists have empty prefix`() { assertThat( commonPrefixOf(emptyList()), equalTo(emptyList<Any>()) ) assertThat( commonPrefixOf(listOf(emptyList())), equalTo(emptyList<Any>())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.8K bytes - Viewed (0)