Skip to content

Commit

Permalink
Added more tests for code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
henryso committed Feb 4, 2016
1 parent 90ca7c1 commit e1b79cc
Show file tree
Hide file tree
Showing 25 changed files with 779 additions and 39 deletions.
53 changes: 53 additions & 0 deletions tests/gabc-dump/centered-initial.dump
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
=====================================================================
SCORE INFOS
=====================================================================
number_of_voices 1
name centered initial


=====================================================================
HEADERS
=====================================================================
name centered initial


=====================================================================
VOICES INFOS
=====================================================================
Voice 1
initial_key 3 (c2)


=====================================================================
SCORE
=====================================================================
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
beginning of style ST_FORCED_CENTER
---------------------------------------------------------------------
character I
---------------------------------------------------------------------
end of style ST_FORCED_CENTER
---------------------------------------------------------------------
character n
---------------------------------------------------------------------
character i
---------------------------------------------------------------------
character t
---------------------------------------------------------------------
character i
---------------------------------------------------------------------
character a
---------------------------------------------------------------------
character l
---------------------------------------------------------------------
type 3 (GRE_ELEMENT)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
type 2 (GRE_GLYPH)
glyph_type 15 (G_PUNCTUM)
- - - - - - - - - - - - - - - - - - - - - - -
type 1 (GRE_NOTE)
pitch g
shape 1 (S_PUNCTUM)
=====================================================================
3 changes: 3 additions & 0 deletions tests/gabc-dump/centered-initial.gabc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: centered initial;
%%
(c2) {I}nitial(g)
19 changes: 11 additions & 8 deletions tests/gabc-dump/glyphs/divisio_finalis.dump
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@
=====================================================================
SCORE
=====================================================================
type 8 (GRE_SYLLABLE)
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
character d
---------------------------------------------------------------------
type 3 (GRE_ELEMENT)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
type 2 (GRE_GLYPH)
glyph_type 16 (G_PUNCTUM)
glyph_type 15 (G_PUNCTUM)
- - - - - - - - - - - - - - - - - - - - - - -
type 1 (GRE_NOTE)
pitch d
shape 1 (S_PUNCTUM)
=====================================================================
type 8 (GRE_SYLLABLE)
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
beginning of style ST_CENTER
Expand All @@ -46,20 +46,23 @@
---------------------------------------------------------------------
end of style ST_CENTER
---------------------------------------------------------------------
type 11 (GRE_BAR)
type 8 (GRE_BAR)
bar 5 (B_DIVISIO_FINALIS)
---------------------------------------------------------------------
type 13 (GRE_CUSTOS)
type 9 (GRE_CUSTOS)
pitch h
force_pitch true
=====================================================================
type 8 (GRE_SYLLABLE)
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
type 11 (GRE_BAR)
type 8 (GRE_BAR)
bar 5 (B_DIVISIO_FINALIS)
---------------------------------------------------------------------
type 13 (GRE_CUSTOS)
type 12 (GRE_TEXVERB_ELEMENT)
TeX string "{X}"
---------------------------------------------------------------------
type 9 (GRE_CUSTOS)
pitch f
force_pitch true
=====================================================================
4 changes: 2 additions & 2 deletions tests/gabc-dump/glyphs/divisio_finalis.exp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: the final divisio finalis;
generated-by: gregorio 4.0.0-rc2-fix-670-af3219a-2704;
generated-by: gregorio 4.1.0-beta1-develop-7a5827a-3055;
%%
(c3)d(d) h+(::h+) (::f+)
(c3)d(d) h+(::h+) (::[ev:{X}]f+)
3 changes: 2 additions & 1 deletion tests/gabc-dump/glyphs/divisio_finalis.gabc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: the final divisio finalis;
def-m1: {X};
%%
(c3) d(d) h+(::h+) (::f+)
(c3) d(d) h+(::h+) (::[em1]f+)
Binary file modified tests/gabc-dump/glyphs/divisio_finalis.pdf
Binary file not shown.
Loading

0 comments on commit e1b79cc

Please sign in to comment.