Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a test to exercise the elision-after-prefix fix. #305

Merged
merged 1 commit into from
Feb 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
223 changes: 223 additions & 0 deletions tests/gabc-dump/bugs/fix-1320.dump
Original file line number Diff line number Diff line change
@@ -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)
=====================================================================
6 changes: 6 additions & 0 deletions tests/gabc-dump/bugs/fix-1320.gabc
Original file line number Diff line number Diff line change
@@ -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)qu<e>e</e> ab(d) hos(dh)tis…(h) (::)
e<e>a</e>u(k) e<e>a</e>p(::)