use of il.org.spartan.Leonidas.plugin.leonidas.BasicBlocks.Encapsulator in project Main by SpartanRefactoring.
the class izTest method testConforms.
public void testConforms() throws Exception {
PsiElement _e1 = createTestExpression("1+5"), _e2 = createTestExpression("1 > 5"), _e3 = createTestStatementFromString("return x"), _e4 = createTestStatementFromString("return y");
Encapsulator e1 = Encapsulator.buildTreeFromPsi(_e1), e2 = Encapsulator.buildTreeFromPsi(_e2), e3 = Encapsulator.buildTreeFromPsi(_e3), e4 = Encapsulator.buildTreeFromPsi(_e4);
assert iz.conforms(e1, e2).matches();
assert iz.conforms(e3, e4).matches();
}
Aggregations