Tests
|
test_all_codes_defined()
|
Test whether all left-most codes are defined (i.e. no stray codes from typos) |
test_blacklist_chars()
|
Test that no blacklisted characters appear in the lexicon |
test_block_attributes()
|
Test that listed attributes for entry blocks are well-formatted |
test_brackets_balanced()
|
Test that all brackets and parentheses are well-balanced |
test_code1_ordered()
|
Test whether left-most codes appear in expected order within the entries |
test_entries_unique()
|
Test that all main- and sub-entry forms are unique |
test_homophone_sequences()
|
Test that all homophones numbers well-sequenced across the homophonous entry forms |
test_inline_codes_ok()
|
Test whether all expected codes (and only these) codes appear on a given line |
test_latin_ok()
|
Test that latin/scientific name(s) lines are well-formed |
test_linestarts_ok()
|
Test that all non-empty lines start with either a backslash or @ |
test_pos_strings()
|
Test that parts of speech values within main- and sub-entry lines are well-formatted |
test_pvl_fuzzy_homed()
|
Test that cross-references to preverbs have a fuzzily-matching parent |
test_reversals_ok()
|
Test that reversal mark up in reversal and gloss lines are well-formed |
test_values_nonempty()
|
Test whether all non-block codes have some content in them |
test_xrefs_homed()
|
Test that no cross-references are orphaned in the Warlpiri dictionary |
test_xrefs_noselfref()
|
Test that cross-references do not contain references to themselves |