public void GetReallyPreciseElapsedTime()
        {
            var instrumentation = new Instrumentation();

            instrumentation.StartWithPrecision();
            Thread.Sleep(750);
            Assert.AreEqual(750, instrumentation.GetReallyPreciseElapsedTime());
        }
        public void GetReallyPreciseElapsedTime()
        {
            var instrumentation = new Instrumentation();

            instrumentation.StartWithPrecision();
            Thread.Sleep(750);
            Assert.IsTrue(750 <= instrumentation.GetReallyPreciseElapsedTime() && instrumentation.GetReallyPreciseElapsedTime() <= 755);
        }
        public void GetReallyPreciseElapsedTimeTest()
        {
            //-- Arrange
            Instrumentation instrumentation = new Instrumentation();

            //-- Act
            instrumentation.StartWithPrecision();

            Thread.Sleep(750);

            double elapsedTime = instrumentation.GetReallyPreciseElapsedTime();

            Debug.Write(elapsedTime);

            //-- Assert
            Assert.IsTrue(elapsedTime >= 750);
        }