test/dwtools/KlattTable.praat
raw| 1 | # KlattTable.praat |
| 2 | # Paul Boersma 2021-06-16 |
| 3 | |
| 4 | klattTable = Create KlattTable example |
| 5 | table = To Table |
| 6 | |
| 7 | # |
| 8 | # Test whether list initialization worked correctly. |
| 9 | # |
| 10 | numberOfColumns = Get number of columns |
| 11 | assert numberOfColumns = 40 |
| 12 | firstColumnLabel$ = Get column label: 1 |
| 13 | assert firstColumnLabel$ = "f0" |
| 14 | lastColumnLabel$ = Get column label: numberOfColumns |
| 15 | assert lastColumnLabel$ = "gain" |
| 16 | |
| 17 | removeObject: klattTable, table |