Added elvisToIfThenIntention

This commit is contained in:
Zack Grannan
2014-03-02 17:39:17 -08:00
committed by Zalim Bashorov
parent 6b5e46da50
commit 673369affe
30 changed files with 208 additions and 0 deletions
@@ -347,6 +347,7 @@ fun main(args: Array<String>) {
}
testClass(javaClass<AbstractCodeTransformationTest>()) {
model("intentions/branched/elvisToIfThen", testMethod = "doTestElvisToIfThen")
model("intentions/branched/folding/ifToAssignment", testMethod = "doTestFoldIfToAssignment")
model("intentions/branched/folding/ifToReturn", testMethod = "doTestFoldIfToReturn")
model("intentions/branched/folding/ifToReturnAsymmetrically", testMethod = "doTestFoldIfToReturnAsymmetrically")