From: Dan Eble Date: Wed, 1 Jul 2015 02:34:12 +0000 (-0400) Subject: Issue 4475: \relative regtests for \autochange and \partcombine X-Git-Tag: release/2.19.24-1~5^2~30 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11d8641f15d132f10b1412f9db5a1e0a54a0732b;p=lilypond.git Issue 4475: \relative regtests for \autochange and \partcombine \relative \autochange {x} was recently fixed in commit c962a0162c67d8b67593c848d08c9345c8b045f0. --- diff --git a/input/regression/autochange-relative.ly b/input/regression/autochange-relative.ly new file mode 100644 index 0000000000..45fae17919 --- /dev/null +++ b/input/regression/autochange-relative.ly @@ -0,0 +1,17 @@ +\version "2.19.23" + +\header { + texidoc = "@code{\\autochange} needs to be given pitches in their +final octaves, so if @code{\\relative} is used it must be applied +inside @code{\\autochange}. The pitches in @code{\\autochange} are +unaffected by an outer @code{\\relative}, so that the printed output +shows the pitches that @code{\\autochange} used. + +The expected output of this test is three identical measures." +} + +\new PianoStaff { + \autochange \absolute {g4 c g' c} + \relative \autochange {g4 c g' c} % relative is ignored + \autochange \relative {g4 c, g'' c,,} +} diff --git a/input/regression/part-combine-relative.ly b/input/regression/part-combine-relative.ly new file mode 100644 index 0000000000..33914bcd0f --- /dev/null +++ b/input/regression/part-combine-relative.ly @@ -0,0 +1,17 @@ +\version "2.19.23" + +\header { + texidoc = "@code{\\partcombine} needs to be given pitches in their +final octaves, so if @code{\\relative} is used it must be applied +inside @code{\\partcombine}. The pitches in @code{\\partcombine} are +unaffected by an outer @code{\\relative}, so that the printed output +shows the pitches that @code{\\partcombine} used. + +The expected output of this test is three identical measures." +} + +\new Staff { + \partcombine \absolute { e'2 f' } { c'2 d' } + \relative \partcombine { e'2 f' } { c'2 d' } % relative is ignored + \partcombine \relative { e'2 f } \relative { c'2 d } +}