add tests

This commit is contained in:
Roman Ivanov
2017-09-01 12:07:23 +07:00
committed by Roman Ivanov
parent d648267c5a
commit 5acdc9ccdc
2 changed files with 26 additions and 0 deletions
@@ -0,0 +1,13 @@
// "Replace with forEach" "true"
import java.util.Collection;
public class Test {
void test(int[] arr) {
for<caret>(int x : arr) {
int y = x*2;
if(x > y) continue;
System.out.println(x);
}
}
}
@@ -0,0 +1,13 @@
// "Replace with forEach" "true"
import java.util.Collection;
public class Test {
void test(int[] arr) {
for<caret>(int x : arr) {
int y = x*2;
if(x > y) continue;
System.out.println(x);
}
}
}