summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-29 07:47:44 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-29 07:47:44 +0200
commitc4dac49def2812dac2f32188aae4080d7aaa649c (patch)
treea3aa3a970cecfa3efc2aedc2ef70d2166ce29cbf /java
parent173b19110509b3795d8541e493f74c10827743fc (diff)
downloadshare-c4dac49def2812dac2f32188aae4080d7aaa649c.zip
share-c4dac49def2812dac2f32188aae4080d7aaa649c.tar.gz
StateLessStateMachineTest : less randomness
Diffstat (limited to 'java')
-rw-r--r--java/StateLessStateMachineTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/StateLessStateMachineTest.java b/java/StateLessStateMachineTest.java
index 19417d9..c9fb3b5 100644
--- a/java/StateLessStateMachineTest.java
+++ b/java/StateLessStateMachineTest.java
@@ -27,7 +27,7 @@ class TryState extends CommonState
say();
- int i = (new Random()).nextInt(6);
+ int i = (new Random()).nextInt(3);
switch (i) {
case 1:
System.out.println(" -> Success");