From 11d8641f15d132f10b1412f9db5a1e0a54a0732b Mon Sep 17 00:00:00 2001 From: Dan Eble <nine.fierce.ballads@gmail.com> Date: Tue, 30 Jun 2015 22:34:12 -0400 Subject: [PATCH] Issue 4475: \relative regtests for \autochange and \partcombine \relative \autochange {x} was recently fixed in commit c962a0162c67d8b67593c848d08c9345c8b045f0. --- input/regression/autochange-relative.ly | 17 +++++++++++++++++ input/regression/part-combine-relative.ly | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 input/regression/autochange-relative.ly create mode 100644 input/regression/part-combine-relative.ly 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 } +} -- 2.39.5