Exemple #1
0
 public void CanConstruct()
 {
     AsyncContext.Run(() =>
     {
         var instance = new ServiceSimulation(SynchronizationContext.Current);
         instance.Should().NotBeNull();
     });
 }
Exemple #2
0
 public void CanConstructWithArguments()
 {
     AsyncContext.Run(() =>
     {
         var instance = new ServiceSimulation(
             SynchronizationContext.Current,
             1000,
             false,
             0m,
             1.3m,
             0.1m,
             0.1m,
             true);
         instance.Should().NotBeNull();
     });
 }