method sim.note
Adds a line to the trace of the run (and so to its hash).
Example:
use std.test { sim }
test sim "notes enter the trace" seeds 1..=2 {
sim.note("leader elected")
}pub(api) static fn note(text: str)Since. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
text | str |
Effects
none declared (pure unless the body says otherwise)
Defined in: std/test/test.oxl:396