Added ifThenToElvisIntention

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