Skip to content

Commit 501db73

Browse files
committed
多補一些測試增加易讀性
1 parent a47b7fb commit 501db73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/TaiwanUtilities.UnitTests/ChineseDecimal/ChineseDecimalTest.Parse.cs

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ partial class ChineseNumericTest
3232
[InlineData("零", "0")]
3333
[InlineData("零一", "1")]
3434
[InlineData("零零一二", "12")]
35+
[InlineData("零零一十二", "12")]
3536
[InlineData("零零一", "1")]
3637
[InlineData("零零零一", "1")]
3738
[InlineData("零零零零", "0")]
@@ -72,6 +73,8 @@ partial class ChineseNumericTest
7273
[InlineData("七千七百萬", "77000000")]
7374
[InlineData("八千六百萬", "86000000")]
7475
[InlineData("一萬一千二", "11200")]
76+
[InlineData("一萬一千二佰", "11200")]
77+
[InlineData("一萬一千零二", "11002")]
7578
[InlineData("八千萬零五十", "80000050")]
7679
[InlineData("一百億四千萬二千", "10040002000")]
7780
[InlineData("貳拾", "20")]

0 commit comments

Comments
 (0)