Skip to content

Commit 19ac520

Browse files
add more tests for 1556
1 parent 3b5d091 commit 19ac520

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/test/java/com/fishercoder/_1556Test.java

+15
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,19 @@ public void test1() {
1919
assertEquals("987", solution1.thousandSeparator(987));
2020
}
2121

22+
@Test
23+
public void test2() {
24+
assertEquals("1.234", solution1.thousandSeparator(1234));
25+
}
26+
27+
@Test
28+
public void test3() {
29+
assertEquals("0", solution1.thousandSeparator(0));
30+
}
31+
32+
@Test
33+
public void test4() {
34+
assertEquals("123.456.789", solution1.thousandSeparator(123456789));
35+
}
36+
2237
}

0 commit comments

Comments
 (0)