Do..while loop implementation and first test

This commit is contained in:
Mikhail Glukhikh
2016-09-23 15:04:42 +03:00
committed by Dmitry Petrov
parent bcf2b410ba
commit e03e13af43
4 changed files with 86 additions and 0 deletions
@@ -79,6 +79,12 @@ public class IrCfgTestCaseGenerated extends AbstractIrCfgTestCase {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/irCfg/loop"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("digitCount.kt")
public void testDigitCount() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irCfg/loop/digitCount.kt");
doTest(fileName);
}
@TestMetadata("factorial.kt")
public void testFactorial() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irCfg/loop/factorial.kt");