Skip to content

Commit ae861eb

Browse files
simplify test
1 parent 4b6312f commit ae861eb

20 files changed

+18
-91
lines changed

src/test/java/com/fishercoder/_291Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static junit.framework.TestCase.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/6/17.
11-
*/
129
public class _291Test {
1310
private static _291.Solution1 solution1;
1411

src/test/java/com/fishercoder/_294Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 5/29/17.
11-
*/
129
public class _294Test {
1310
private static _294.Solution1 solution1;
1411

src/test/java/com/fishercoder/_340Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/10/17.
11-
*/
129
public class _340Test {
1310
private static _340.Solution1 solution1;
1411
private static _340.Solution2 solution2;

src/test/java/com/fishercoder/_358Test.java

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,27 @@
44
import org.junit.BeforeClass;
55
import org.junit.Test;
66

7-
/**
8-
* Created by stevesun on 6/8/17.
9-
*/
107
public class _358Test {
118

12-
private static _358.Solution1 solution1;
9+
private static _358.Solution1 solution1;
1310

14-
@BeforeClass
15-
public static void setup() {
16-
solution1 = new _358.Solution1();
17-
}
11+
@BeforeClass
12+
public static void setup() {
13+
solution1 = new _358.Solution1();
14+
}
1815

19-
@Test
20-
public void test1() {
21-
System.out.println(solution1.rearrangeString("aabbcc", 3));
22-
}
16+
@Test
17+
public void test1() {
18+
System.out.println(solution1.rearrangeString("aabbcc", 3));
19+
}
2320

24-
@Test
25-
public void test2() {
26-
System.out.println(solution1.rearrangeString("aaabc", 3));
27-
}
21+
@Test
22+
public void test2() {
23+
System.out.println(solution1.rearrangeString("aaabc", 3));
24+
}
2825

29-
@Test
30-
public void test3() {
31-
System.out.println(solution1.rearrangeString("aaadbbcc", 2));
32-
}
26+
@Test
27+
public void test3() {
28+
System.out.println(solution1.rearrangeString("aaadbbcc", 2));
29+
}
3330
}

src/test/java/com/fishercoder/_459Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static junit.framework.TestCase.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/6/17.
11-
*/
129
public class _459Test {
1310
private static _459.Solution1 solution1;
1411
private static _459.Solution2 solution2;

src/test/java/com/fishercoder/_468Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/10/17.
11-
*/
129
public class _468Test {
1310
private static _468.Solution1 solution1;
1411

src/test/java/com/fishercoder/_493Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/10/17.
11-
*/
129
public class _493Test {
1310
private static _493.Solution1 solution1;
1411
private static int[] nums;

src/test/java/com/fishercoder/_591Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/4/17.
11-
*/
129
public class _591Test {
1310
private static _591 test;
1411

src/test/java/com/fishercoder/_604Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
import static org.junit.Assert.assertEquals;
77

8-
/**
9-
* Created by stevesun on 6/10/17.
10-
*/
118
public class _604Test {
129
private static _604.StringIterator test;
1310

src/test/java/com/fishercoder/_605Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
import static org.junit.Assert.assertEquals;
88

9-
/**
10-
* Created by stevesun on 6/4/17.
11-
*/
129
public class _605Test {
1310
private static _605 test;
1411
private static int[] flowerbed;

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