@@ -47,7 +47,8 @@ class BasicConditionsReachabilityTest {
4747
4848 @Test
4949 fun testSimpleReachablePath () {
50- // Test reachability of path: if (x > 10) -> if (x < 20) -> return 1
50+ // Test reachability of path:
51+ // if (x > 10) -> if (x < 20) -> return 1
5152 val machine = TsMachine (scene, options, tsOptions, machineObserver = ReachabilityObserver ())
5253 val method = scene.projectClasses
5354 .flatMap { it.methods }
@@ -84,7 +85,8 @@ class BasicConditionsReachabilityTest {
8485
8586 @Test
8687 fun testSimpleUnreachablePath () {
87- // Test unreachability of contradicting conditions: if (x > 15) -> if (x < 10) -> return -1
88+ // Test unreachability of contradicting conditions:
89+ // if (x > 15) -> if (x < 10) -> return -1
8890 val machine = TsMachine (scene, options, tsOptions, machineObserver = ReachabilityObserver ())
8991 val method = scene.projectClasses
9092 .flatMap { it.methods }
@@ -116,7 +118,8 @@ class BasicConditionsReachabilityTest {
116118
117119 @Test
118120 fun testMultiVariableReachable () {
119- // Test reachability with multiple variables: if (x > 0) -> if (y > 5) -> if (x + y > 10) -> return 1
121+ // Test reachability with multiple variables:
122+ // if (x > 0) -> if (y > 5) -> if (x + y > 10) -> return 1
120123 val machine = TsMachine (scene, options, tsOptions, machineObserver = ReachabilityObserver ())
121124 val method = scene.projectClasses
122125 .flatMap { it.methods }
@@ -157,7 +160,8 @@ class BasicConditionsReachabilityTest {
157160
158161 @Test
159162 fun testEqualityBasedReachability () {
160- // Test reachability with equality: if (value === 42) -> if (value > 40) -> if (value < 50) -> return 1
163+ // Test reachability with equality:
164+ // if (value === 42) -> if (value > 40) -> if (value < 50) -> return 1
161165 val machine = TsMachine (scene, options, tsOptions, machineObserver = ReachabilityObserver ())
162166 val method = scene.projectClasses
163167 .flatMap { it.methods }
@@ -192,7 +196,8 @@ class BasicConditionsReachabilityTest {
192196
193197 @Test
194198 fun testBooleanUnreachable () {
195- // Test unreachability with contradicting boolean conditions: if (flag) -> if (!flag) -> return -1
199+ // Test unreachability with contradicting boolean conditions:
200+ // if (flag) -> if (!flag) -> return -1
196201 val machine = TsMachine (scene, options, tsOptions, machineObserver = ReachabilityObserver ())
197202 val method = scene.projectClasses
198203 .flatMap { it.methods }
0 commit comments