- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for outOfBounds (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
assertThat("≠".map()).isEqualTo("≠") } @Test fun disallowedStd3Mapped() { assertThat("\u00b8".map()).isEqualTo("\u0020\u0327") assertThat("⑴".map()).isEqualTo("(1)") } @Test fun outOfBounds() { assertFailsWith<IllegalArgumentException> { table.map(-1, Buffer()) } table.map(0, Buffer()) // Lowest legal code point. table.map(0x10ffff, Buffer()) // Highest legal code point.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1)); assertEquals("c", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(2)); } public void testGet_outOfBounds() { try { FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1); fail(); } catch (IndexOutOfBoundsException expected) { } try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1)); assertEquals("c", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(2)); } public void testGet_outOfBounds() { try { FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1); fail(); } catch (IndexOutOfBoundsException expected) { } try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0)