Skip to content

Commit c9051f6

Browse files
update 844
1 parent 16f8448 commit c9051f6

File tree

2 files changed

+6
-6
lines changed
  • src
    • main/java/com/fishercoder/solutions/firstthousand
    • test/java/com/fishercoder/firstthousand

2 files changed

+6
-6
lines changed

src/main/java/com/fishercoder/solutions/firstthousand/_844.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ private String process(String str) {
1919
sb.append(str.charAt(i));
2020
}
2121
}
22-
return sb.reverse().toString();
22+
return sb.toString();
2323
}
2424
}
2525
}

src/test/java/com/fishercoder/firstthousand/_844Test.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package com.fishercoder.firstthousand;
22

33
import com.fishercoder.solutions.firstthousand._844;
4-
import org.junit.BeforeClass;
5-
import org.junit.Test;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.Assert.assertEquals;
7+
import static org.junit.jupiter.api.Assertions.assertEquals;
88

99
public class _844Test {
1010
private static _844.Solution1 solution1;
1111

12-
@BeforeClass
13-
public static void setup() {
12+
@BeforeEach
13+
public void setup() {
1414
solution1 = new _844.Solution1();
1515
}
1616

0 commit comments

Comments
 (0)