OxL Reference

method sim.seed

The seed of this run (oxl test --seed N).

Example:

oxl✓ checked in CI
use std.test { sim }

test sim "seed is the range value" seeds 5..=5 {
  assert sim.seed() == 5
}
pub(api) static fn seed() -> u64

Since. 1.0.0-beta

Returns

u64

Effects

none declared (pure unless the body says otherwise)

Defined in: std/test/test.oxl:371

See also