This repository has been archived on 2025-01-16. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
437 B
Java

package aud.exam.prep;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
public class Tests {
public static final int STEAM_SIZE = 50;
public static final Random RANDOM = new Random();
static List<Integer> randomList() {
var size = RANDOM.nextInt(50);
return RANDOM
.ints(size, 0, 100)
.boxed()
.collect(Collectors.toList());
}
}