Searched refs:splitRandom2 (Results 1 – 2 of 2) sorted by relevance
76 var splitRandom2 = random2.split(new SplittableRandom(sourceSeed)); in splitInstances_areTheSame_whenTheyAreSplitWithIdenticalSource() local78 assertGeneratorsAreEquals(splitRandom1, splitRandom2); in splitInstances_areTheSame_whenTheyAreSplitWithIdenticalSource()92 var splitRandom2 = random2.splits(size, new SplittableRandom(sourceSeed)).toList(); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_boundedStream() local95 assertEquals(size, splitRandom2.size()); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_boundedStream()98 assertGeneratorsAreEquals(splitRandom1.get(i), splitRandom2.get(i)); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_boundedStream()114 var splitRandom2 = random2.splits(new SplittableRandom(sourceSeed)).limit(size).toList(); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_unboundedStream() local117 assertEquals(size, splitRandom2.size()); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_unboundedStream()120 assertGeneratorsAreEquals(splitRandom1.get(i), splitRandom2.get(i)); in splitsInstances_areTheSame_whenTheyAreSplitWithIdenticalSource_unboundedStream()134 var splitRandom2 = random2.splits(size).toList(); in splitsInstances_areTheSame_whenSourceIsIdentical() local137 assertEquals(size, splitRandom2.size()); in splitsInstances_areTheSame_whenSourceIsIdentical()[all …]
42 var splitRandom2 = random2.splits().limit(size).toList(); in splits_produceTheSameResult_whenSourceIsIdentical() local45 assertEquals(size, splitRandom2.size()); in splits_produceTheSameResult_whenSourceIsIdentical()48 assertGeneratorsAreEquals(splitRandom1.get(i), splitRandom2.get(i)); in splits_produceTheSameResult_whenSourceIsIdentical()