Пример #1
0
 public void GetElapsedTimeTest()
 {
     PreciseTimer preciseTimer = new PreciseTimer();
     //not sure how to test if this gives a correct result
     //since it is all based on CPU time between the frame
     preciseTimer.GetElapsedTime();
 }
Пример #2
0
        public void GetElapsedTimeTest()
        {
            PreciseTimer preciseTimer = new PreciseTimer();

            //not sure how to test if this gives a correct result
            //since it is all based on CPU time between the frame
            preciseTimer.GetElapsedTime();
        }
        public void GetElapsedTimeTest()
        {
            PreciseTimer target   = new PreciseTimer(); // TODO: Initialize to an appropriate value
            double       expected = 0F;                 // TODO: Initialize to an appropriate value
            double       actual;

            actual = target.GetElapsedTime();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }