Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for simplifyCombinesMultipleMappings (0.14 sec)

  1. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class MappingTablesTest {
      @Test fun simplifyCombinesMultipleMappings() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0233, 0x0233, TYPE_VALID, ByteString.EMPTY),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top