コード例 #1
0
 public void CorrelationFactory_GivenElement_FirstElementContainsCorr()
 {
     nodeScript = AssignNodeScript(nodeScript, path);
     Assert.IsTrue(CorrelationFactory.GetCorrelations(nodeScript)[0].Rule.Contains("corr"));
 }
コード例 #2
0
 public void CorrelationFactory_GivenElement_ReturnsCorrelationArrayType()
 {
     nodeScript = AssignNodeScript(nodeScript, path);
     Assert.IsInstanceOfType(CorrelationFactory.GetCorrelations(nodeScript), typeof(Correlation[]));
 }
コード例 #3
0
 public void CorrelationFactory_GivenElement_ReturnsCorrelationArray_NonEmpty()
 {
     nodeScript = AssignNodeScript(nodeScript, path);
     Assert.IsTrue(CorrelationFactory.GetCorrelations(nodeScript).Length > 0);
 }
コード例 #4
0
 public void CorrelationFactory_GivenElement_IsNotNull()
 {
     nodeScript = AssignNodeScript(nodeScript, path);
     Assert.IsNotNull(CorrelationFactory.GetCorrelations(nodeScript));
 }