summaryrefslogtreecommitdiff
path: root/tests/regression
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-25 17:11:09 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-25 17:11:09 (GMT)
commit794b80ffcfa356b294e2e0c202ece005f2d0009c (patch)
tree3b3dc982a9e783b25efdb19bb313895b89c24b2f /tests/regression
parent3baefed148d27eafd19ccef4b96eaaeb4a5fbb1a (diff)
Modified tests for #304
Diffstat (limited to 'tests/regression')
-rw-r--r--tests/regression/cgalpngtest/highlight-modifier-expected.pngbin12436 -> 12437 bytes
-rw-r--r--tests/regression/dumptest/background-modifier-expected.txt12
-rw-r--r--tests/regression/dumptest/highlight-and-background-modifier-expected.txt55
-rw-r--r--tests/regression/dumptest/highlight-modifier-expected.txt12
-rw-r--r--tests/regression/opencsgtest/background-modifier-expected.pngbin17797 -> 17763 bytes
-rw-r--r--tests/regression/opencsgtest/highlight-and-background-modifier-expected.pngbin22188 -> 25034 bytes
-rw-r--r--tests/regression/opencsgtest/highlight-modifier-expected.pngbin14172 -> 16507 bytes
-rw-r--r--tests/regression/throwntogethertest/background-modifier-expected.pngbin17797 -> 17772 bytes
-rw-r--r--tests/regression/throwntogethertest/highlight-and-background-modifier-expected.pngbin0 -> 28740 bytes
-rw-r--r--tests/regression/throwntogethertest/highlight-modifier-expected.pngbin13335 -> 17975 bytes
10 files changed, 74 insertions, 5 deletions
diff --git a/tests/regression/cgalpngtest/highlight-modifier-expected.png b/tests/regression/cgalpngtest/highlight-modifier-expected.png
index e220aa1..2fc7678 100644
--- a/tests/regression/cgalpngtest/highlight-modifier-expected.png
+++ b/tests/regression/cgalpngtest/highlight-modifier-expected.png
Binary files differ
diff --git a/tests/regression/dumptest/background-modifier-expected.txt b/tests/regression/dumptest/background-modifier-expected.txt
index ed769b3..5861bef 100644
--- a/tests/regression/dumptest/background-modifier-expected.txt
+++ b/tests/regression/dumptest/background-modifier-expected.txt
@@ -5,4 +5,16 @@
%group() {
cube(size = [25, 6, 3], center = true);
}
+ %multmatrix([[1, 0, 0, 0], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ color([0, 0.501961, 0, 1]) {
+ cube(size = [10, 4, 10], center = true);
+ }
+ color([1, 0, 0, 1]) {
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 3);
+ }
+ }
+ }
+ }
diff --git a/tests/regression/dumptest/highlight-and-background-modifier-expected.txt b/tests/regression/dumptest/highlight-and-background-modifier-expected.txt
index 20c82cc..eb8931c 100644
--- a/tests/regression/dumptest/highlight-and-background-modifier-expected.txt
+++ b/tests/regression/dumptest/highlight-and-background-modifier-expected.txt
@@ -2,15 +2,60 @@
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
%cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
%group() {
- cube(size = [6, 25, 3], center = true);
+ cube(size = [25, 6, 3], center = true);
}
}
- multmatrix([[1, 0, 0, 13], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ %multmatrix([[1, 0, 0, 0], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ color([0, 0.501961, 0, 1]) {
+ cube(size = [10, 4, 10], center = true);
+ }
+ color([1, 0, 0, 1]) {
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 3);
+ }
+ }
+ }
+ }
+ %multmatrix([[1, 0, 0, 13], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
+ group() {
+ cube(size = [25, 6, 3], center = true);
+ }
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ color([0, 0.501961, 0, 1]) {
+ cube(size = [10, 4, 10], center = true);
+ }
+ color([1, 0, 0, 1]) {
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 3);
+ }
+ }
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, 26], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
- %cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
- %group() {
- cube(size = [6, 25, 3], center = true);
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
+ group() {
+ cube(size = [25, 6, 3], center = true);
+ }
+ }
+ %multmatrix([[1, 0, 0, 0], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ color([0, 0.501961, 0, 1]) {
+ cube(size = [10, 4, 10], center = true);
+ }
+ color([1, 0, 0, 1]) {
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 3);
+ }
+ }
}
}
}
diff --git a/tests/regression/dumptest/highlight-modifier-expected.txt b/tests/regression/dumptest/highlight-modifier-expected.txt
index c6204bd..c0a29ad 100644
--- a/tests/regression/dumptest/highlight-modifier-expected.txt
+++ b/tests/regression/dumptest/highlight-modifier-expected.txt
@@ -5,4 +5,16 @@
group() {
cube(size = [25, 6, 3], center = true);
}
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ color([0, 0.501961, 0, 1]) {
+ cube(size = [10, 4, 10], center = true);
+ }
+ color([1, 0, 0, 1]) {
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 3);
+ }
+ }
+ }
+ }
diff --git a/tests/regression/opencsgtest/background-modifier-expected.png b/tests/regression/opencsgtest/background-modifier-expected.png
index 2505331..9cf7db0 100644
--- a/tests/regression/opencsgtest/background-modifier-expected.png
+++ b/tests/regression/opencsgtest/background-modifier-expected.png
Binary files differ
diff --git a/tests/regression/opencsgtest/highlight-and-background-modifier-expected.png b/tests/regression/opencsgtest/highlight-and-background-modifier-expected.png
index 8febe76..c1c7313 100644
--- a/tests/regression/opencsgtest/highlight-and-background-modifier-expected.png
+++ b/tests/regression/opencsgtest/highlight-and-background-modifier-expected.png
Binary files differ
diff --git a/tests/regression/opencsgtest/highlight-modifier-expected.png b/tests/regression/opencsgtest/highlight-modifier-expected.png
index af01e5b..1021c22 100644
--- a/tests/regression/opencsgtest/highlight-modifier-expected.png
+++ b/tests/regression/opencsgtest/highlight-modifier-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/background-modifier-expected.png b/tests/regression/throwntogethertest/background-modifier-expected.png
index 2505331..499b92f 100644
--- a/tests/regression/throwntogethertest/background-modifier-expected.png
+++ b/tests/regression/throwntogethertest/background-modifier-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/highlight-and-background-modifier-expected.png b/tests/regression/throwntogethertest/highlight-and-background-modifier-expected.png
new file mode 100644
index 0000000..e95f763
--- /dev/null
+++ b/tests/regression/throwntogethertest/highlight-and-background-modifier-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/highlight-modifier-expected.png b/tests/regression/throwntogethertest/highlight-modifier-expected.png
index 7973d82..e8d4e62 100644
--- a/tests/regression/throwntogethertest/highlight-modifier-expected.png
+++ b/tests/regression/throwntogethertest/highlight-modifier-expected.png
Binary files differ
contact: Jan Huwald // Impressum