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