Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-02 14:46:27 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-02 14:46:27 -0700
commitd826a01ff91301d88762a59881ac53053926b5be (patch)
treeebc23acbe51b271942df85f3de8ae6dadb1513f8 /test/integration/fixtures/scenario.svg
parent163e3a9de59f5d6a8df38fa32a1e7dc4db1ad024 (diff)
Add integration test-helpers and refactor integration tests
Diffstat (limited to 'test/integration/fixtures/scenario.svg')
-rw-r--r--test/integration/fixtures/scenario.svg24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/integration/fixtures/scenario.svg b/test/integration/fixtures/scenario.svg
new file mode 100644
index 0000000..e5b7121
--- /dev/null
+++ b/test/integration/fixtures/scenario.svg
@@ -0,0 +1,24 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
+ <g class="gameboard">
+ <g class="grid">
+ <g data-y="0">
+ <g data-x="0"><use href="#hex"/></g>
+ <g data-x="1"><use href="#hex"/></g>
+ <g data-x="2"><use href="#hex"/></g>
+ </g>
+ <g data-y="1">
+ <g data-x="0"><use href="#hex"/></g>
+ <g data-x="1"><use href="#hex"/></g>
+ <g data-x="2"><use href="#hex"/></g>
+ </g>
+ <g data-y="2">
+ <g data-x="0"><use href="#hex"/></g>
+ <g data-x="1"><use href="#hex"/></g>
+ <g data-x="2"><use href="#hex"/></g>
+ </g>
+ </g>
+ </g>
+
+ <script/>
+</svg>