Home
last modified time | relevance | path

Searched refs:randomHighSurrogate (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DAbstractNonStreamingHashFunctionTest.java67 assertPutString(new char[] { 'p', HashTestUtils.randomHighSurrogate(new Random()) }); in testPutStringWithHighSurrogate()
73 HashTestUtils.randomHighSurrogate(new Random()) }); in testPutStringWithLowHighSurrogate()
78 HashTestUtils.randomHighSurrogate(new Random()), in testPutStringWithHighLowSurrogate()
DHashTestUtils.java197 String s = new String(new char[] { randomHighSurrogate(random) }); in PUT_STRING_HIGH_SURROGATE()
206 randomLowSurrogate(random), randomHighSurrogate(random)}); in PUT_STRING_LOW_HIGH_SURROGATE()
215 randomHighSurrogate(random), randomLowSurrogate(random)}); in PUT_STRING_HIGH_LOW_SURROGATE()
558 chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random); in assertHashStringWithSurrogatesEquivalence()
570 static char randomHighSurrogate(Random random) { in randomHighSurrogate() method in HashTestUtils