Exemplo n.º 1
0
        public void CoroutineService_WaitForLateTickAsync_ReturnTaskThatCompletesAfterLateTick()
        {
            var coroutineService = new CoroutineService();

            Task task = coroutineService.WaitForLateTickAsync();

            coroutineService.TickLateCoroutines();

            Assert.IsTrue(task.IsCompleted, "Task did not complete");
        }