Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Sep 26, 2024
1 parent 9e53c0a commit 5fa298c
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,23 @@
<fifths>2</fifths>
</key>
</attributes>
<print>
<part-name>A Clarinet</part-name>
<part-abbreviation>A Cl.</part-abbreviation>
</print>
<attributes>
<transpose>
<diatonic>-1</diatonic>
<chromatic>-2</chromatic>
</transpose>
</attributes>
<sound>
<instrument-change>
<score-instrument id="P1-I2">
<instrument-name>B♭ Clarinet</instrument-name>
</score-instrument>
</instrument-change>
</sound>
<direction placement="above">
<direction-type>
<words font-weight="bold" font-size="12">To B♭ Clarinet</words>
Expand Down
11 changes: 11 additions & 0 deletions src/importexport/musicxml/tests/data/testChangeTranspose.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,23 @@
<fifths>2</fifths>
</key>
</attributes>
<print>
<part-name>A Clarinet</part-name>
<part-abbreviation>A Cl.</part-abbreviation>
</print>
<attributes>
<transpose>
<diatonic>-1</diatonic>
<chromatic>-2</chromatic>
</transpose>
</attributes>
<sound>
<instrument-change>
<score-instrument id="P1-I2">
<instrument-name>B♭ Clarinet</instrument-name>
</score-instrument>
</instrument-change>
</sound>
<direction placement="above">
<direction-type>
<words font-weight="bold" font-size="12">To B♭ Clarinet</words>
Expand Down
11 changes: 11 additions & 0 deletions src/importexport/musicxml/tests/data/testMultiInstrumentPart1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@
</note>
</measure>
<measure number="3">
<print>
<part-name>Piano</part-name>
<part-abbreviation>Pno.</part-abbreviation>
</print>
<sound>
<instrument-change>
<score-instrument id="P1-I2">
<instrument-name>Flute</instrument-name>
</score-instrument>
</instrument-change>
</sound>
<direction placement="above">
<direction-type>
<words font-weight="bold" font-size="12">Flute</words>
Expand Down
22 changes: 22 additions & 0 deletions src/importexport/musicxml/tests/data/testMultiInstrumentPart2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@
</note>
</measure>
<measure number="3">
<print>
<part-name>Piano</part-name>
<part-abbreviation>Pno.</part-abbreviation>
</print>
<sound>
<instrument-change>
<score-instrument id="P1-I2">
<instrument-name>Flute</instrument-name>
</score-instrument>
</instrument-change>
</sound>
<direction placement="above">
<direction-type>
<words font-weight="bold" font-size="12">Flute</words>
Expand Down Expand Up @@ -246,6 +257,17 @@
</note>
</measure>
<measure number="7">
<print>
<part-name>Voice</part-name>
<part-abbreviation>Vo.</part-abbreviation>
</print>
<sound>
<instrument-change>
<score-instrument id="P2-I2">
<instrument-name>C Trumpet</instrument-name>
</score-instrument>
</instrument-change>
</sound>
<direction placement="above">
<direction-type>
<words font-weight="bold" font-size="12">Trumpet</words>
Expand Down

0 comments on commit 5fa298c

Please sign in to comment.