Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java141 double proportionSampled = (double) count / NUM_SAMPLE_TRIES; in assertSamplerSamplesWithProbability() local
143 assertThat(proportionSampled < probability + 0.1 && proportionSampled > probability - 0.1) in assertSamplerSamplesWithProbability()