OxL Reference

method net.heal

Removes every partition.

Example:

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

test sim "heal removes partitions" seeds 1..=2 {
  net.partition(["a"], ["b"])
  net.heal()
  assert !net.isBlocked("a", "b")
}
pub(api) static fn heal()

Since. 1.0.0-beta

Effects

none declared (pure unless the body says otherwise)

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

See also