Debian Codegraph @

tests/cmd_options.test

raw
1 #!/bin/sh
2 # include common script
3 . "`dirname $0`/common"
4
5 ##### Script coverage
6
7 # missing tests: -k 10, -a, -d, -g, -p, -s, -w, -b, -z, -pho, -phonout, --punct, --split, --tie, -load
8
9 # tested in other tests: --ipa, -x, -X, -v, -m, -f, -q, --compile, --compile-debug, --compile-mbrola, --compile-intonations, --compile-phonemes
10
11 test_phon en "_#X1T'aI _#X1'Es Iz a# _#X1t'Es _#X1t'i: fO@ _#X1k'apIt@Lz" "ThiS is a TesT for Capitals" "Capitals (sound)" "-k 1"
12 test_phon en "k,ap@-t@L T'aI k,ap@-t@L 'Es Iz a# k,ap@-t@L t'Es k,ap@-t@L t'i: fO@ k,ap@-t@L k'apIt@Lz" "ThiS is a TesT for Capitals" "Capitals (word)" "-k 2"
13 test_phon en "hq@qlq'oU wq'3:qlqd" "hello world" "Separator" "--sep=q"
14 test_phon en "wi:; 'A@
15 wi:; A@ t'EstIN
16 wi:; A@ t'EstIN l'aInlENT wi:; A@ t'EstIN l'aInlENT l'aIk D'Is" "We are
17 We are testing
18 We are testing linelength
19 We are testing linelength like this" "Linelength" "-l 15"