We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a6feb commit 7aa7c5cCopy full SHA for 7aa7c5c
1 file changed
tests/core/test_util.py
@@ -143,6 +143,7 @@ def test_number(self):
143
self.assertEqual(num_to_thaiword(-273), "ลบสองร้อยเจ็ดสิบสาม")
144
# เอ็ด rule: ones=1 must use เอ็ด when number > 1
145
self.assertEqual(num_to_thaiword(1), "หนึ่ง")
146
+ self.assertEqual(num_to_thaiword(-1), "ลบหนึ่ง")
147
self.assertEqual(num_to_thaiword(101), "หนึ่งร้อยเอ็ด")
148
self.assertEqual(num_to_thaiword(1001), "หนึ่งพันเอ็ด")
149
self.assertEqual(num_to_thaiword(1000001), "หนึ่งล้านเอ็ด")
0 commit comments