Module:grc-accent/testcases/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search

All tests passed. (refresh)

TextExpectedActual
test_add_accent:
Passedκρεως (1, noun)κρέωςκρέως
PassedΤρως (1, noun)ΤρώςΤρώς
Passedπολεως (1, noun)πόλεωςπόλεως
Passedπολεων (1, noun)πόλεωνπόλεων
PassedΠειριθοι (2, noun)ΠειρίθοιΠειρίθοι
PassedᾸ̓θηναιοιν (-2, noun)Ᾰ̓θηναίοινᾸ̓θηναίοιν
PassedᾸ̓θηναιοις (-2, noun)Ᾰ̓θηναίοιςᾸ̓θηναίοις
Passedβᾰρειαι (-2, noun)βᾰρεῖαιβᾰρεῖαι
Passedᾰ̓ληθειαι (-3, noun)ᾰ̓λήθειαιᾰ̓λήθειαι
PassedᾸ̓θηναιοι (3, noun)Ᾰ̓θηναῖοιᾸ̓θηναῖοι
Passedβᾰρειαι (2, noun)βᾰρεῖαιβᾰρεῖαι
Passedᾰ̓ληθειαι (2, noun)ᾰ̓λήθειαιᾰ̓λήθειαι
Passedαἱμᾰ (1, noun)αἷμᾰαἷμᾰ
Passedλογος (-2)λόγοςλόγος
Passedπροτερᾱ (-3)προτέρᾱπροτέρᾱ
PassedΑἰθιοπων (2)ΑἰθιόπωνΑἰθιόπων
Passedχωρῶν (1)χωρῶνχωρῶν
Passedδημος (1)δῆμοςδῆμος
Passedτοιουτος (2)τοιοῦτοςτοιοῦτος
Passedχωρᾱ (1)χώρᾱχώρᾱ
Passedμοιρᾰ (1)μοῖρᾰμοῖρᾰ
Passedπροτερᾱ (1)προτέρᾱπροτέρᾱ
Passedἐγενετο (1)ἐγένετοἐγένετο
Passedφως (1, circumflex)φῶςφῶς
Passedμοιρα (1)μοίραμοίρα
Passedμοιρα (1, circumflex)μοῖραμοῖρα
Passedἐγενετο (1, circumflex)ἐγένετοἐγένετο
Passedλογος (1)λόγοςλόγος
Passedλογος (1, circumflex)λόγοςλόγος
TextExpectedActual
test_detect_accent:
Passedἐγένετο2, acute2, acute
Passedἐγένετο (from end)3, acute3, acute
Passedτοιοῦτος2, circumflex2, circumflex
Passedτοιοῦτος (from end)2, circumflex2, circumflex
Passedφῶς1, circumflex1, circumflex
Passedφῶς (from end)1, circumflex1, circumflex
TextExpectedActual
test_get_accent_term:
Passedπολὺςbarytonebarytone
Passedπολύςoxytoneoxytone
Passedλέγωparoxytoneparoxytone
Passedγίγνομαιproparoxytoneproparoxytone
Passedφῶςperispomenonperispomenon
Passedοἷοςproperispomenonproperispomenon
TextExpectedActual
test_get_length:
ambiguous vowels
Passedαἷμᾰlong, shortlong, short
Passedμοῖραlong, eitherlong, either
Passedπάθοςeither, shorteither, short
Passedπᾰ́θοςshort, shortshort, short
Passedἆρᾰlong, shortlong, short
capital letters
Passedᾍδηςlong, longlong, long
PassedΑἰσχύλοςlong, either, shortlong, either, short
PassedἨλέκτρᾱlong, short, longlong, short, long
PassedἙλλάςshort, eithershort, either
short final diphthongs
Passedᾰ̓λήθειαιshort, long, long, shortshort, long, long, short
PassedᾸ̓θηναιοιshort, long, long, shortshort, long, long, short
PassedᾸ̓θηναίοινshort, long, long, longshort, long, long, long
PassedᾸ̓θηναίοιςshort, long, long, longshort, long, long, long
TextExpectedActual
test_get_weight:
Passedὀρθ (1)heavyheavy
Passedὀρθheavyheavy
Passedμικρ (1)heavyheavy
Passedμικρheavyheavy
Passedἰδι (1)(nil)(nil)
Passedἰδι(nil)(nil)
Passedῐ̓δῐ (1)lightlight
Passedῐ̓δῐlightlight
Passedφῐλ (1)lightlight
Passedφῐλlightlight
TextExpectedActual
test_harmonize_length:
Passedᾰ̓́λοξ, ἄλοκοςᾰ̓́λοξ, ᾰ̓́λοκοςᾰ̓́λοξ, ᾰ̓́λοκος
Passedἄλοκος, ᾰ̓́λοξᾰ̓́λοκος, ᾰ̓́λοξᾰ̓́λοκος, ᾰ̓́λοξ
Passedἄλοξ, ἄλοκοςᾰ̓́λοξ, ᾰ̓́λοκοςᾰ̓́λοξ, ᾰ̓́λοκος
PassedΑἰθίοψ, ΑἰθίοποςΑἰθῐ́οψ, Αἰθῐ́οποςΑἰθῐ́οψ, Αἰθῐ́οπος
transfer length only if both vowels have the same breathing mark
Passedἄξιος, ᾱἄξιος, ᾱἄξιος, ᾱ
TextExpectedActual
test_length_at:
Passedμοῖρα (2 syllables from end)longlong
Passedπάθους (2 syllables from end)eithereither
Passedπᾰ́θος (2 syllables from end)shortshort
TextExpectedActual
test_mark_implied_length:
Passedμοῖραμοῖρᾰμοῖρᾰ
Passedχώραχώρᾱχώρᾱ
Passedπάθοςπᾰ́θοςπᾰ́θος
Passedἀλήθειαἀλήθειᾰἀλήθειᾰ
TextExpectedActual
test_strip_accent:
Passedᾰ̓́νθρωποςανθρωποςανθρωπος
PassedΠηληῐ̈ᾰ́δηςΠηληιαδηςΠηληιαδης
TextExpectedActual
test_strip_tone:
PassedΠηληῐ̈ᾰ́δηςΠηληῐ̈ᾰδηςΠηληῐ̈ᾰδης
PassedᾹ̔́ͅδηςᾹ̔ͅδηςᾹ̔ͅδης
Passedμολὼν λαβέμολων λαβεμολων λαβε
circumflex → macron
Passedπᾶςπᾱςπᾱς
circumflexes on diphthongs should not
be replaced with macrons
Passedοἷαιοἱαιοἱαι
Passedγᾰλεοῦγᾰλεουγᾰλεου