]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4421/5: Add regression test
authorDavid Kastrup <dak@gnu.org>
Wed, 3 Jun 2015 14:15:06 +0000 (16:15 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 9 Jun 2015 13:55:31 +0000 (15:55 +0200)
input/regression/music-function-direct-call.ly [new file with mode: 0644]

diff --git a/input/regression/music-function-direct-call.ly b/input/regression/music-function-direct-call.ly
new file mode 100644 (file)
index 0000000..545ad9f
--- /dev/null
@@ -0,0 +1,18 @@
+\version "2.19.22"
+
+\header {
+  texidoc = "Music functions can be called directly from Scheme."
+}
+
+\new Staff {
+  #(relative
+    (make-sequential-music
+     (list
+      (time '(3 2) '(5 . 4)) #{ e'8 8 8 8 8 8 8 8 8 8 #}
+      (clef "bass")
+      (key #{ a #} major)
+      (time '(3 . 4))
+      (tuplet '(2 . 3) #{ 4. #} #{ d,8 e fis gis #})
+      (key *unspecified*)
+      #{ a2. #})))
+}