Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19ac520

Browse files
add more tests for 1556
1 parent3b5d091 commit19ac520

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
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+
publicvoidtest2() {
24+
assertEquals("1.234",solution1.thousandSeparator(1234));
25+
}
26+
27+
@Test
28+
publicvoidtest3() {
29+
assertEquals("0",solution1.thousandSeparator(0));
30+
}
31+
32+
@Test
33+
publicvoidtest4() {
34+
assertEquals("123.456.789",solution1.thousandSeparator(123456789));
35+
}
36+
2237
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp