List<Action> actions = new ArrayList<>(size);
for (int i = 0; i < size; i++) {
Op op = Op.values()[random.nextInt(Op.values().length)];
boolean noop = 1 + random.nextInt(11) % 4 == 4;
Action action = noop ? new NoopAction() : new TermAction(
new Term(1 + random.nextInt(10), op, 1 + random.nextInt(10)));
actions.add(action);
}
return actions;
}