Skip to content

Commit 55c0398

Browse files
fix build
1 parent c361b03 commit 55c0398

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed
Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.fishercoder;
22

33
import com.fishercoder.solutions._394;
4+
import org.junit.BeforeClass;
45
import org.junit.Test;
56

67
import static org.junit.Assert.assertEquals;
@@ -10,24 +11,25 @@
1011
*/
1112

1213
public class _394Test {
13-
private static _394.Solution1 test;
14-
15-
public static void setUp() {
16-
test = new _394.Solution1();
17-
}
18-
19-
@Test
20-
public void test1() {
21-
assertEquals("aaabcbc", test.decodeString("3[a]2[bc]"));
22-
}
23-
24-
@Test
25-
public void test2() {
26-
assertEquals("accaccacc", test.decodeString("3[a2[c]]"));
27-
}
28-
29-
@Test
30-
public void test3() {
31-
assertEquals("abcabccdcdcdef", test.decodeString("2[abc]3[cd]ef"));
32-
}
14+
private static _394.Solution1 test;
15+
16+
@BeforeClass
17+
public static void setUp() {
18+
test = new _394.Solution1();
19+
}
20+
21+
@Test
22+
public void test1() {
23+
assertEquals("aaabcbc", test.decodeString("3[a]2[bc]"));
24+
}
25+
26+
@Test
27+
public void test2() {
28+
assertEquals("accaccacc", test.decodeString("3[a2[c]]"));
29+
}
30+
31+
@Test
32+
public void test3() {
33+
assertEquals("abcabccdcdcdef", test.decodeString("2[abc]3[cd]ef"));
34+
}
3335
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy