Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of <see cref="TestGeneralResultTopLevelIllustrationPoint"/>.
 /// </summary>
 public TestGeneralResultTopLevelIllustrationPoint()
     : base(WindDirectionTestFactory.CreateTestWindDirection(),
            new[]
 {
     new Stochast("A", 10.0, 5.0)
 },
            new List <TestTopLevelIllustrationPoint>
 {
     new TestTopLevelIllustrationPoint()
 })
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of <see cref="TestGeneralResult{T}"/>.
 /// </summary>
 public TestGeneralResult() :
     base(WindDirectionTestFactory.CreateTestWindDirection(),
          new[]
 {
     new Stochast("A", 10.0, 5.0)
 },
          new List <T>
 {
     new T()
 })
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a new instance of <see cref="TestGeneralResultFaultTreeIllustrationPoint"/>.
 /// </summary>
 public TestGeneralResultFaultTreeIllustrationPoint()
     : base(WindDirectionTestFactory.CreateTestWindDirection(),
            new[]
 {
     new Stochast("A", 10.0, 5.0)
 },
            new List <TopLevelFaultTreeIllustrationPoint>
 {
     new TopLevelFaultTreeIllustrationPoint(WindDirectionTestFactory.CreateTestWindDirection(),
                                            "closing situation",
                                            new IllustrationPointNode(new TestFaultTreeIllustrationPoint()))
 })
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a new instance of <see cref="TestGeneralResultSubMechanismIllustrationPoint"/>
 /// with specified <see cref="TopLevelSubMechanismIllustrationPoint"/>.
 /// </summary>
 /// <param name="topLevelIllustrationPoints">The top level illustration
 /// points that are associated with this general result.</param>
 /// <exception cref="ArgumentNullException">Thrown when <paramref name="topLevelIllustrationPoints"/>
 /// is <c>null</c>.</exception>
 public TestGeneralResultSubMechanismIllustrationPoint(IEnumerable <TopLevelSubMechanismIllustrationPoint> topLevelIllustrationPoints)
     : base(WindDirectionTestFactory.CreateTestWindDirection(),
            Enumerable.Empty <Stochast>(),
            topLevelIllustrationPoints)
 {
 }
 /// <summary>
 /// Creates a new instance of <see cref="TestTopLevelIllustrationPoint"/>.
 /// </summary>
 public TestTopLevelIllustrationPoint()
     : base(WindDirectionTestFactory.CreateTestWindDirection(), "Closing situation")
 {
 }
 /// <summary>
 /// Creates a new instance of <see cref="TestTopLevelIllustrationPoint"/>.
 /// <param name="closingSituation">The name of the closing situation for this illustration point</param>
 /// </summary>
 public TestTopLevelIllustrationPoint(string closingSituation)
     : base(WindDirectionTestFactory.CreateTestWindDirection(), closingSituation)
 {
 }