public void MeasureStopwatchConstructionFromTicks()
        {
            var        assertComparisonTimer = Stopwatch.StartNew();
            Startwatch measure   = null;
            var        loopTimer = Stopwatch.StartNew();

            while (loopTimer.ElapsedTicks < Stopwatch.Frequency)
            {
                ;
            }
            assertComparisonTimer.Stop();
            measure = Startwatch.FromTicks(assertComparisonTimer.ElapsedTicks);
            AssertStopwatch(assertComparisonTimer.ElapsedTicks, measure);
        }
        public void TestTicksToTimespan03()
        {
            var stopwatch = Startwatch.FromTicks((long)(Stopwatch.Frequency * 5M + 50M * Stopwatch.Frequency / 1000M));

            AssertTimespansClose(new TimeSpan(0, 0, 0, 5, 50), stopwatch.Elapsed);
        }
        public void TestTicksToTimespan02()
        {
            var stopwatch = Startwatch.FromTicks(Stopwatch.Frequency * 25);

            AssertTimespansClose(new TimeSpan(0, 0, 25), stopwatch.Elapsed);
        }
        public void TestTicksToMilliseconds03()
        {
            var stopwatch = Startwatch.FromTicks((long)(Stopwatch.Frequency * 5M + 50M * Stopwatch.Frequency / 1000M));

            AssertMillisecondsClose(new TimeSpan(0, 0, 0, 5, 50).TotalMilliseconds, stopwatch.ElapsedMilliseconds);
        }
        public void TestTicksToMilliseconds02()
        {
            var stopwatch = Startwatch.FromTicks(Stopwatch.Frequency * 25);

            AssertMillisecondsClose(new TimeSpan(0, 0, 25).TotalMilliseconds, stopwatch.ElapsedMilliseconds);
        }