CalendarAggregator.SchedulerTest.StopTaskForIdYieldsStopTimeGreaterThanStartTime C# (CSharp) Метод

StopTaskForIdYieldsStopTimeGreaterThanStartTime() приватный Метод

private StopTaskForIdYieldsStopTimeGreaterThanStartTime ( ) : void
Результат void
        public void StopTaskForIdYieldsStopTimeGreaterThanStartTime()
        {
            Scheduler.InitTaskForId(testid, test_task_type);
            Scheduler.StartTaskForId(testid, test_task_type);
            Utils.Wait(3);
            Scheduler.StopTaskForId(testid, test_task_type);
            var task = Scheduler.FetchTaskForId(testid, test_task_type);
            Assert.Greater(task.stop, task.start);
        }