summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Neeman <joeneeman@gmail.com>2008-04-23 21:34:05 +1000
committerJoe Neeman <joeneeman@gmail.com>2008-04-23 21:34:05 +1000
commitf67aadfaeb060bb52a884d9fac09f485532e324c (patch)
tree4831b0402af363615847599cf769f4093ababf21
parent89592d9d1c8fe39f6028becfe32ee9bd209e7963 (diff)
Add regression tests for Graham's new feature.
-rw-r--r--input/regression/ragged-right-compressed.ly8
-rw-r--r--input/regression/ragged-right-disabled.ly12
-rw-r--r--input/regression/ragged-right-one-line.ly8
3 files changed, 28 insertions, 0 deletions
diff --git a/input/regression/ragged-right-compressed.ly b/input/regression/ragged-right-compressed.ly
new file mode 100644
index 0000000000..dfd896b870
--- /dev/null
+++ b/input/regression/ragged-right-compressed.ly
@@ -0,0 +1,8 @@
+\version "2.11.44"
+
+\header {
+ texidoc = "When a score takes up only a single line and it is compressed, it
+is not printed as ragged."
+}
+
+{ \repeat unfold 9 {a b c d} } \ No newline at end of file
diff --git a/input/regression/ragged-right-disabled.ly b/input/regression/ragged-right-disabled.ly
new file mode 100644
index 0000000000..3ceb5d47b3
--- /dev/null
+++ b/input/regression/ragged-right-disabled.ly
@@ -0,0 +1,12 @@
+\version "2.11.44"
+
+\header {
+ texidoc = "When ragged-right is specifically disabled, a score with only one
+line will not be printed as ragged."
+}
+
+\paper {
+ ragged-right = ##f
+}
+
+{ a b c d } \ No newline at end of file
diff --git a/input/regression/ragged-right-one-line.ly b/input/regression/ragged-right-one-line.ly
new file mode 100644
index 0000000000..35dd3c6e36
--- /dev/null
+++ b/input/regression/ragged-right-one-line.ly
@@ -0,0 +1,8 @@
+\version "2.11.44"
+
+\header {
+ texidoc = "When a score takes up only a single line and it is stretched, it
+is printed as ragged by default."
+}
+
+{ a b c d } \ No newline at end of file