public void TestEmptyCreateStartedShouldUseSystemStopwatch() { var sw = Stopwatches.CreateAndStart(); sw.Should().BeOfType <TickerBackedStopwatch>() .Which.Ticker .Should().BeOfType <SystemStopwatchBackedTicker>(); }
public void TestCreateStarted() { Stopwatches.CreateAndStart(ticker) .IsRunning.Should().BeTrue(); }