diff options
author | Eike Rathke <erack@redhat.com> | 2018-06-05 17:26:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-06-05 17:27:40 +0200 |
commit | e025c561d75c6b1e04d3df0ba90b38d3801241ac (patch) | |
tree | 3c4b1f10b332b557816dd01853b771a66b0f2f8d /svl | |
parent | db042b2a59a713c37f568f7721b9546a353a964f (diff) |
Add unit test for NatNum12 decimals spell-out
Change-Id: I31c84eb2267b4978f110a4f38cbf4d2377d59400
Diffstat (limited to 'svl')
-rw-r--r-- | svl/qa/unit/svl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index ff344ff65834..6dea21f05883 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1385,6 +1385,9 @@ void Test::testUserDefinedNumberFormats() sCode = "[NatNum12]0"; sExpected = "one hundred twenty-three"; checkPreviewString(aFormatter, sCode, 123, eLang, sExpected); + sCode = "[NatNum12]0.00"; + sExpected = "one hundred twenty-three point four five"; + checkPreviewString(aFormatter, sCode, 123.45, eLang, sExpected); sCode = "[NatNum13]0"; sExpected = "one hundred twenty-third"; checkPreviewString(aFormatter, sCode, 123, eLang, sExpected); |