Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testValidSurrogatePairAt (0.17 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonSuffix("x\uD8AB\uDCAB", "\uDCAB"));
        // Two orphan low surrogates.
        assertEquals("\uDCAB", Strings.commonSuffix("\uDCAB", "\uDCAB"));
      }
    
      public void testValidSurrogatePairAt() {
        assertTrue(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 0));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCAB", 3));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCABxyz", 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonSuffix("x\uD8AB\uDCAB", "\uDCAB"));
        // Two orphan low surrogates.
        assertEquals("\uDCAB", Strings.commonSuffix("\uDCAB", "\uDCAB"));
      }
    
      public void testValidSurrogatePairAt() {
        assertTrue(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 0));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCAB", 3));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCABxyz", 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top