~andrewzah/korean_numbers

4d75a56055dc7856ad54771d6472b972fc8551a3 — Andrew Zah 1 year, 7 months ago 59d0b5d
Add testcase and srht build yml
3 files changed, 13 insertions(+), 1 deletions(-)

A .build.yml
M Cargo.lock
M tests/test.rs
A .build.yml => .build.yml +11 -0
@@ 0,0 1,11 @@
image: alpine/edge
packages:
  - libgcc
  - rust
  - cargo
sources:
  - https://git.sr.ht/~andrewzah/korean_numbers/
tasks:
  - test: |
      cd korean_numbers
      cargo test

M Cargo.lock => Cargo.lock +1 -1
@@ 18,7 18,7 @@ dependencies = [

[[package]]
name = "korean_numbers"
version = "0.6.5"
version = "0.6.6"
dependencies = [
 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "num 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",

M tests/test.rs => tests/test.rs +1 -0
@@ 160,6 160,7 @@ fn it_handles_mixed_digits_zeroes_sino() {
        (8375_2000     ,  "팔천삼백칠십오만 이천"),
        (8001_9459     ,  "팔천일만 구천사백오십구"),
        (5_0337_9569   ,  "오억 삼백삼십칠만 구천오백육십구"),
        (5_0337_9570   ,  "오억 삼백삼십칠만 구천오백칠십"),
        (10_0110_2120  ,  "십억 백십만 이천백이십"),
        (11_3960_3741 ,   "십일억 삼천구백육십만 삼천칠백사십일"),
        (14_2108_6610  ,  "십사억 이천백팔만 육천육백십"),