diff --git a/agama/engine/src/test/java/io/jans/agama/test/MathFlowTest.java b/agama/engine/src/test/java/io/jans/agama/test/MathFlowTest.java index 387965048de..3a4754a4c48 100644 --- a/agama/engine/src/test/java/io/jans/agama/test/MathFlowTest.java +++ b/agama/engine/src/test/java/io/jans/agama/test/MathFlowTest.java @@ -25,7 +25,7 @@ public void runEmpty() { @Test public void runRandom() { - int len = (int) (Math.random() * 10); + int len = (int) (1 + Math.random() * 10); List list = new ArrayList<>(); for (int i = 0; i < len; i++) {