Beispiel #1
0
        public void testMandatoryTimes()
        {
            // Testing that mandatory times are recalled correctly
            List <double> test_times = new List <double> {
                1.0, 2.0, 4.0
            };
            TimeGrid tg = new TimeGrid(test_times, 8);

            // Mandatory times are those provided by the original iterator.
            List <double> tg_mandatory_times = tg.mandatoryTimes();

            QAssert.CollectionAreEqual(tg_mandatory_times, test_times);
        }