public void WatchAroundTest() { var times = TimeWatcher.WatchAround( () => { Thread.Sleep(1000); }, () => { Thread.Sleep(1000); }); Assert.IsNotNull(times); foreach (var time in times) { Console.WriteLine(time); } }
public void WatchAroundTest() { var times = TimeWatcher.WatchAround( () => { Thread.Sleep(1000); }, () => { Thread.Sleep(1000); }); Assert.IsNotNull(times); foreach (var time in times) { Console.WriteLine(time); } }