N = 100;

for i = 1:N
  rand ("state", "reset"), s1 = rand ("state");
  rand ("state", "reset"), s2 = rand ("state");
  assert (any (s1 != s2));
endfor
