Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/hash/
DAbstractNonStreamingHashFunctionTest.java61 assertPutString(new char[] { 'p', HashTestUtils.randomLowSurrogate(new Random()) }); in testPutStringWithLowSurrogate()
72 HashTestUtils.randomLowSurrogate(new Random()), in testPutStringWithLowHighSurrogate()
79 HashTestUtils.randomLowSurrogate(new Random()) }); in testPutStringWithHighLowSurrogate()
DHashTestUtils.java189 String s = new String(new char[] { randomLowSurrogate(random) }); in PUT_STRING_LOW_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()
565 static char randomLowSurrogate(Random random) { in randomLowSurrogate() method in HashTestUtils