Skip to content

Commit 0c0a1a1

Browse files
committed
more untested
1 parent ab81942 commit 0c0a1a1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/main/java/com/codacy/utils/Math.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,18 @@ public Math(int magicNumber) {
1313
*/
1414
public int magicAdd(int x, int y) {
1515
if (y == magicNumber) {
16-
return y - x;
16+
int cenas = 12345;
17+
int maisCenas = 67890;
18+
if (cenas > maisCenas) {
19+
System.out.println("what?");
20+
return x;
21+
} else if (cenas < maisCenas) {
22+
return y;
23+
} else {
24+
return y - x;
25+
}
1726
} else {
18-
System.out.println("hey");
27+
System.out.println("hey");
1928
return x + y;
2029
}
2130
}

0 commit comments

Comments
 (0)