public void Normal() { int[] run = { 0 }; Executors.NewBlocking(s => { s.Schedule(() => { run[0]++; s.Shutdown(); }, TimeSpan.FromMilliseconds(100)); run[0]++; }).Start(); Assert.AreEqual(2, run[0]); }
public void Normal() { int[] run = { 0 }; Executors.NewBlocking(s => { s.Schedule(() => { run[0]++; s.Shutdown(); }, TimeSpan.FromMilliseconds(100)); run[0]++; }).Start(); Assert.AreEqual(2, run[0]); }