`nextInt(minValue = 1, maxValue = 3)` will only generate 1 or 2 I recommend either renaming parameters or fixing implementation `+1` For now, just be wary.