Exemple #1
0
 public void GetThreadPoolFiber_Returns_ThreadPoolFiber()
 {
     _Fiber = Fiber.GetThreadPoolFiber();
     _Fiber.Should().BeAssignableTo <ThreadPoolFiber>();
 }
Exemple #2
0
 public void GetTaskBasedFiber_Returns_TaskSchedulerFiber()
 {
     _Fiber = Fiber.GetTaskBasedFiber();
     _Fiber.Should().BeAssignableTo <TaskSchedulerFiber>();
 }
Exemple #3
0
 public void CreateMonoThreadedFiber_Returns_MonoThreadedFiber()
 {
     _Fiber = Fiber.CreateMonoThreadedFiber();
     _Fiber.Should().BeAssignableTo <MonoThreadedFiber>();
 }