From ea6dee69dc1fe8437d6b7c62d7e1b371a5ef388b Mon Sep 17 00:00:00 2001 From: "Henry So, Jr." Date: Tue, 28 Feb 2017 12:39:28 -0500 Subject: [PATCH] Added a test to exercise the elision-after-prefix fix. Tests gregorio-project/gregorio#1320. --- tests/gabc-dump/bugs/fix-1320.dump | 223 +++++++++++++++++++++++++++++ tests/gabc-dump/bugs/fix-1320.gabc | 6 + 2 files changed, 229 insertions(+) create mode 100644 tests/gabc-dump/bugs/fix-1320.dump create mode 100644 tests/gabc-dump/bugs/fix-1320.gabc diff --git a/tests/gabc-dump/bugs/fix-1320.dump b/tests/gabc-dump/bugs/fix-1320.dump new file mode 100644 index 00000000..b2c95355 --- /dev/null +++ b/tests/gabc-dump/bugs/fix-1320.dump @@ -0,0 +1,223 @@ +===================================================================== + SCORE INFOS +===================================================================== + number_of_voices 1 + name fix-1320 + + +===================================================================== + HEADERS +===================================================================== + name fix-1320 + issue 1320 + test-purpose elision after prefix should not put center on the vowel at the end of the prefix + + +===================================================================== + VOICES INFOS +===================================================================== + Voice 1 + initial_key 7 (c4) + + +===================================================================== + SCORE +===================================================================== + type 0 (GRE_SYLLABLE) + position 1 (WORD_BEGINNING) +--------------------------------------------------------------------- + character S +--------------------------------------------------------------------- + character a +--------------------------------------------------------------------- + character l +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 15 (G_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch d + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 2 (WORD_MIDDLE) +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character v +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character u +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character m +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 15 (G_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch d + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 3 (WORD_END) +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character q +--------------------------------------------------------------------- + character u +--------------------------------------------------------------------- + beginning of style ST_ELISION +--------------------------------------------------------------------- + character e +--------------------------------------------------------------------- + end of style ST_ELISION +--------------------------------------------------------------------- + character +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character a +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_FIRST_WORD +--------------------------------------------------------------------- + character b +--------------------------------------------------------------------- + end of style ST_FIRST_WORD +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 15 (G_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch d + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 1 (WORD_BEGINNING) +--------------------------------------------------------------------- + character h +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + character o +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + character s +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 17 (G_PODATUS) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch d + shape 1 (S_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch h + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 3 (WORD_END) +--------------------------------------------------------------------- + character t +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + character i +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + character s +--------------------------------------------------------------------- + character … +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 15 (G_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch h + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 4 (WORD_ONE_SYLLABLE) +--------------------------------------------------------------------- + type 7 (GRE_BAR) + bar 5 (B_DIVISIO_FINALIS) +===================================================================== + type 0 (GRE_SYLLABLE) + position 4 (WORD_ONE_SYLLABLE) +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + character e +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_ELISION +--------------------------------------------------------------------- + character a +--------------------------------------------------------------------- + end of style ST_ELISION +--------------------------------------------------------------------- + character u +--------------------------------------------------------------------- + type 3 (GRE_ELEMENT) +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + type 2 (GRE_GLYPH) + glyph_type 15 (G_PUNCTUM) +- - - - - - - - - - - - - - - - - - - - - - - + type 1 (GRE_NOTE) + pitch k + shape 1 (S_PUNCTUM) +===================================================================== + type 0 (GRE_SYLLABLE) + position 4 (WORD_ONE_SYLLABLE) +--------------------------------------------------------------------- + beginning of style ST_CENTER +--------------------------------------------------------------------- + character e +--------------------------------------------------------------------- + end of style ST_CENTER +--------------------------------------------------------------------- + beginning of style ST_ELISION +--------------------------------------------------------------------- + character a +--------------------------------------------------------------------- + end of style ST_ELISION +--------------------------------------------------------------------- + character p +--------------------------------------------------------------------- + type 7 (GRE_BAR) + bar 5 (B_DIVISIO_FINALIS) +===================================================================== diff --git a/tests/gabc-dump/bugs/fix-1320.gabc b/tests/gabc-dump/bugs/fix-1320.gabc new file mode 100644 index 00000000..e5b8960d --- /dev/null +++ b/tests/gabc-dump/bugs/fix-1320.gabc @@ -0,0 +1,6 @@ +name: fix-1320; +issue: 1320; +test-purpose: elision after prefix should not put center on the vowel at the end of the prefix; +%% +(c4) Sal(d)vum(d)que ab(d) hos(dh)tis…(h) (::) +eau(k) eap(::)