| 1 |
Test-Command: cd /tmp; if [ "`/usr/lib/libnumbertext/spellout -l en 123`" != "one hundred twenty-three" ]; then echo "Invalid spellout of 123 for en." >&2; exit 1; else exit 0; fi |
| 2 |
Depends: libnumbertext-tools |
| 3 |
|
| 4 |
Test-Command: cd /tmp; if [ "`/usr/lib/libnumbertext/spellout -l de 123`" != "einhundertdreiundzwanzig" ]; then echo "Invalid spellout of 123 for de." >&2; exit 1; else exit 0; fi |
| 5 |
Depends: libnumbertext-tools |
| 6 |
|
| 7 |
# taken from upstream make check |
| 8 |
|
| 9 |
Test-Command: cd /tmp; if [ "`java -jar /usr/share/java/numbertext.jar -l en 99`" != "ninety-nine" ]; then echo "Invalid 99."; >&2 exit 1; else exit 0; fi |
| 10 |
Depends: default-jre, libnumbertext-java |
| 11 |
|
| 12 |
Test-Command: cd /tmp; if [ "`java -jar /usr/share/java/numbertext.jar -l en 101`" != "one hundred one" ]; then echo "Invalid 101 for en." >&2; exit 1; else exit 0; fi |
| 13 |
Depends: default-jre, libnumbertext-java |
| 14 |
|
| 15 |
Test-Command: cd /tmp; if [ "`java -jar /usr/share/java/numbertext.jar -l en-GB 101`" != "one hundred and one" ]; then echo "Invalid 101 for en-GB." >&2; exit 1; else exit 0; fi |
| 16 |
Depends: default-jre, libnumbertext-java |
| 17 |
|
| 18 |
# let's test this, too |
| 19 |
|
| 20 |
Test-Command: cd /tmp; if [ "`/usr/lib/libnumbertext/spellout -l en 99`" != "ninety-nine" ]; then echo "Invalid spellout of 99 for en." >&2; exit 1; else exit 0; fi |
| 21 |
Depends: libnumbertext-tools |
| 22 |
|
| 23 |
Test-Command: cd /tmp; if [ "`/usr/lib/libnumbertext/spellout -l fr 99`" != "quatre-vingt-dix-neuf" ]; then echo "Invalid 99 for fr."; >&2 exit 1; else exit 0; fi |
| 24 |
Depends: libnumbertext-tools |
| 25 |
|
| 26 |
Test-Command: cd /tmp; if [ "`/usr/lib/libnumbertext/spellout -l fr-BE 99`" != "nonante-neuf" ]; then echo "Invalid 99 for fr-BE."; >&2 exit 1; else exit 0; fi |
| 27 |
Depends: libnumbertext-tools |
| 28 |
|