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