Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/math/
DQuantilesTest.java481 private static final ImmutableList<Double> PSEUDORANDOM_DATASET = generatePseudorandomDataset(); field in QuantilesTest
483 Ordering.natural().immutableSortedCopy(PSEUDORANDOM_DATASET);
512 assertThat(percentiles().index(index).compute(PSEUDORANDOM_DATASET)) in testPercentiles_index_compute_doubleCollection()
523 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
533 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
536 assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
547 assertThat(percentiles().indexes(index1, index2).compute(PSEUDORANDOM_DATASET)) in testPercentiles_indexes_varargsPairs_compute_doubleCollection()
563 assertThat(percentiles().indexes(Ints.toArray(indexes)).compute(PSEUDORANDOM_DATASET)) in testPercentiles_indexes_varargsAll_compute_doubleCollection()
570 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_indexes_varargsAll_computeInPlace()
582 assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET); in testPercentiles_indexes_varargsAll_computeInPlace()
/external/guava/guava-tests/test/com/google/common/math/
DQuantilesTest.java481 private static final ImmutableList<Double> PSEUDORANDOM_DATASET = generatePseudorandomDataset(); field in QuantilesTest
483 Ordering.natural().immutableSortedCopy(PSEUDORANDOM_DATASET);
512 assertThat(percentiles().index(index).compute(PSEUDORANDOM_DATASET)) in testPercentiles_index_compute_doubleCollection()
523 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
533 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
536 assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace()
547 assertThat(percentiles().indexes(index1, index2).compute(PSEUDORANDOM_DATASET)) in testPercentiles_indexes_varargsPairs_compute_doubleCollection()
563 assertThat(percentiles().indexes(Ints.toArray(indexes)).compute(PSEUDORANDOM_DATASET)) in testPercentiles_indexes_varargsAll_compute_doubleCollection()
570 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_indexes_varargsAll_computeInPlace()
582 assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET); in testPercentiles_indexes_varargsAll_computeInPlace()