@Test
public void testIfProblems() throws Exception {

  final String prog = "#version 130\nint x; void main() { if(true) x++; }";
  TranslationUnit tu = ParseHelper.parse(prog);
  new AddWrappingConditionalTransformation().apply(tu, TransformationProbabilities.onlyWrap(),
      new CannedRandom(0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0),
      GenerationParams.normal(ShaderKind.FRAGMENT, true));
  checkStructuralProperties(tu);
  TranslationUnit tu2 = ParseHelper.parse(PrettyPrinterVisitor.prettyPrintAsString(tu));
  checkStructuralProperties(tu2);
}