Skip to content

Commit

Permalink
Fix JapaneseNumberChunkingTest
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatad committed Nov 5, 2023
1 parent b4f4032 commit 8952499
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class JapaneseNumberChunkingTest extends Specification {

def splitter = new JapaneseNumberChunking()

def "should split number to three digit and 2 digit parts as per japanese standards"() {
def "should split number to four digit parts as per japanese standards"() {
expect:
splitter.chunk(value) == chunks

Expand All @@ -17,7 +17,7 @@ class JapaneseNumberChunkingTest extends Specification {
1234 | [1234]
123000789 | [1, 2300, 789]
123456789 | [1, 2345, 6789]
123000000 | [1, 2300, 0]
123000000 | [1, 2300, 0000]
12300000 | [1230, 0000]
Long.MAX_VALUE | [922, 3372, 368, 5477, 5807]
}
Expand Down

0 comments on commit 8952499

Please sign in to comment.