public void TestRunningStopwatchToString() { var stopwatch = new EsentStopwatch(); stopwatch.Start(); Assert.AreEqual("EsentStopwatch (running)", stopwatch.ToString()); }
public void TestStoppedStopwatchToString() { var stopwatch = new EsentStopwatch(); stopwatch.Start(); stopwatch.Stop(); Assert.AreEqual(stopwatch.Elapsed.ToString(), stopwatch.ToString()); }