Skip to content

Commit

Permalink
Add separate test output for linux and windows
Browse files Browse the repository at this point in the history
Both render diagrams slightly different, resulting in just enough variance to
make the tests fail on either of the platforms. This test is pretty high-over.

I considered it's better to run them on both platforms with different expected
output, than to not run them at all.
  • Loading branch information
amolenaar committed Nov 11, 2021
1 parent f6f7c8d commit 32bff20
Show file tree
Hide file tree
Showing 7 changed files with 1,195 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"x": 847,
"y": 305,
"width": 77,
"height": 85,
"height": 88,
"context": [
"_QuJKUKr0EeqOgqWuHJrXFA",
"_j0qaJKryEeqOgqWuHJrXFA"
Expand All @@ -51,7 +51,7 @@
"id": "_-76wwKrxEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 847,
"y": 362,
"y": 365,
"width": 77,
"height": 28,
"context": [],
Expand All @@ -65,7 +65,7 @@
"x": 847,
"y": 29,
"width": 77,
"height": 83,
"height": 85,
"context": [
"_i8e08KryEeqOgqWuHJrXFA",
"_j0qaJKryEeqOgqWuHJrXFA"
Expand All @@ -83,7 +83,7 @@
"id": "_arnyAKryEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 847,
"y": 84,
"y": 86,
"width": 77,
"height": 28,
"context": [],
Expand All @@ -97,7 +97,7 @@
"x": 657,
"y": 29,
"width": 91,
"height": 83,
"height": 85,
"context": [
"_CNeHcKr6EeqOgqWuHJrXFA",
"_i8e08KryEeqOgqWuHJrXFA"
Expand All @@ -115,7 +115,7 @@
"id": "_ZAHScKryEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 657,
"y": 84,
"y": 86,
"width": 91,
"height": 28,
"context": [],
Expand All @@ -138,8 +138,8 @@
"label": {
"x": 582.0,
"y": 202.0,
"width": 203,
"height": 12,
"width": 209,
"height": 13,
"text": "Does the hunted animal want revenge?"
}
},
Expand All @@ -159,8 +159,8 @@
"label": {
"x": 400.0,
"y": 50.0,
"width": 129,
"height": 12,
"width": 135,
"height": 10,
"text": "Was the hunt successful?"
}
},
Expand All @@ -171,7 +171,7 @@
"x": 337,
"y": 181,
"width": 91,
"height": 53,
"height": 56,
"context": [
"_7OcukKrzEeqOgqWuHJrXFA",
"_BhVaMqr6EeqOgqWuHJrXFA",
Expand All @@ -187,7 +187,7 @@
"id": "_nHIbAqrzEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 337,
"y": 214,
"y": 217,
"width": 91,
"height": 20,
"context": [],
Expand All @@ -201,7 +201,7 @@
"x": 97,
"y": 35,
"width": 121,
"height": 83,
"height": 85,
"context": [
"_53EE4KrzEeqOgqWuHJrXFA",
"_CNdggKr6EeqOgqWuHJrXFA"
Expand All @@ -219,7 +219,7 @@
"id": "_SJy64KryEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 97,
"y": 90,
"y": 92,
"width": 121,
"height": 28,
"context": [],
Expand All @@ -233,7 +233,7 @@
"x": 97,
"y": 181,
"width": 121,
"height": 119,
"height": 126,
"context": [
"_53EE4KrzEeqOgqWuHJrXFA",
"_7OcukKrzEeqOgqWuHJrXFA",
Expand All @@ -257,7 +257,7 @@
"id": "_wVr1QKrzEeqOgqWuHJrXFA",
"class": "StateRegion",
"x": 97,
"y": 272,
"y": 279,
"width": 121,
"height": 28,
"context": [],
Expand All @@ -280,7 +280,7 @@
"label": {
"x": 105.0,
"y": 468.0,
"width": 128,
"width": 129,
"height": 13,
"text": "Split out soul from body"
}
Expand All @@ -299,8 +299,8 @@
"label": {
"x": 253.0,
"y": 435.0,
"width": 75,
"height": 12,
"width": 79,
"height": 13,
"text": "Physical Death"
}
},
Expand All @@ -318,8 +318,8 @@
"label": {
"x": 253.0,
"y": 402.0,
"width": 98,
"height": 12,
"width": 102,
"height": 13,
"text": "Spiritual Ascension"
}
},
Expand All @@ -346,7 +346,7 @@
"points": [
[
886,
112
114
],
[
889,
Expand All @@ -355,7 +355,7 @@
],
"label": {
"x": 890,
"y": 123,
"y": 124,
"width": 97,
"height": 16,
"text": " [Actor feels sated]"
Expand Down Expand Up @@ -518,12 +518,12 @@
],
[
109,
118
120
]
],
"label": {
"x": 116,
"y": 130,
"y": 129,
"width": 104,
"height": 37,
"text": "Hunt wild animal [Actor feels hungry]"
Expand All @@ -539,16 +539,16 @@
"points": [
[
337,
206
208
],
[
218,
206
208
]
],
"label": {
"x": 229,
"y": 186,
"y": 187,
"width": 100,
"height": 21,
"text": " [Reached safety]"
Expand All @@ -564,20 +564,20 @@
"points": [
[
847,
348
350
],
[
159,
348
350
],
[
159,
300
307
]
],
"label": {
"x": 428,
"y": 331,
"y": 333,
"width": 131,
"height": 14,
"text": " [Actor feels well rested]"
Expand Down Expand Up @@ -622,20 +622,20 @@
"points": [
[
119,
300
307
],
[
119,
421
429
],
[
171,
421
429
]
],
"label": {
"x": 120,
"y": 354,
"y": 361,
"width": 109,
"height": 20,
"text": " [Actor gets too old]"
Expand Down Expand Up @@ -687,7 +687,7 @@
"points": [
[
419,
234
237
],
[
511,
Expand Down
Loading

0 comments on commit 32bff20

Please sign in to comment.