OxL Справочник OxL
РусскийEnglish

method sim.note

Adds a line to the trace of the run (and so to its hash).

Example:

oxl✓ проверяется в CI
use std.test { sim }

test sim "notes enter the trace" seeds 1..=2 {
  sim.note("leader elected")
}
pub(api) static fn note(text: str)

С версии. 1.0.0-beta

Параметры

ИмяТип
textstr

Эффекты

не объявлены (чистая, пока тело не говорит иное)

Определено в: std/test/test.oxl:396

См. также