Verify that the random number generator produces the same sequence with a fixed seed
Preconditions (2)
Step 1: Create a Random object with seed 12345
Step 2: Generate 5 random integers using nextInt()
Step 3: Record the generated numbers
Step 4: Create another Random object with the same seed 12345
Step 5: Generate 5 random integers again
Step 6: Compare both sequences of numbers
✅ Expected Result: Both sequences of 5 random integers are exactly the same, proving the test is deterministic