From fc9a0fbccd21fbd754d54743f547f69315911ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Platkevi=C4=8D?= Date: Sun, 27 Oct 2024 10:44:20 +0100 Subject: [PATCH] Add tests for two degenerate cases --- .../visual-tests/degenerate-01/difference.svg | 7 +++++++ .../visual-tests/degenerate-01/division.svg | 7 +++++++ .../visual-tests/degenerate-01/exclusion.svg | 7 +++++++ .../visual-tests/degenerate-01/fracture.svg | 7 +++++++ .../visual-tests/degenerate-01/intersection.svg | 7 +++++++ .../visual-tests/degenerate-01/original.svg | 16 ++++++++++++++++ .../visual-tests/degenerate-01/union.svg | 7 +++++++ .../visual-tests/degenerate-02/difference.svg | 7 +++++++ .../visual-tests/degenerate-02/division.svg | 7 +++++++ .../visual-tests/degenerate-02/exclusion.svg | 7 +++++++ .../visual-tests/degenerate-02/fracture.svg | 7 +++++++ .../visual-tests/degenerate-02/intersection.svg | 7 +++++++ .../visual-tests/degenerate-02/original.svg | 16 ++++++++++++++++ .../visual-tests/degenerate-02/union.svg | 7 +++++++ 14 files changed, 116 insertions(+) create mode 100644 src/__fixtures__/visual-tests/degenerate-01/difference.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/division.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/exclusion.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/fracture.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/intersection.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/original.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-01/union.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/difference.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/division.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/exclusion.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/fracture.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/intersection.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/original.svg create mode 100644 src/__fixtures__/visual-tests/degenerate-02/union.svg diff --git a/src/__fixtures__/visual-tests/degenerate-01/difference.svg b/src/__fixtures__/visual-tests/degenerate-01/difference.svg new file mode 100644 index 0000000..92e4ec6 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/difference.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/division.svg b/src/__fixtures__/visual-tests/degenerate-01/division.svg new file mode 100644 index 0000000..94df9ad --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/division.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/exclusion.svg b/src/__fixtures__/visual-tests/degenerate-01/exclusion.svg new file mode 100644 index 0000000..92e4ec6 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/exclusion.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/fracture.svg b/src/__fixtures__/visual-tests/degenerate-01/fracture.svg new file mode 100644 index 0000000..94df9ad --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/fracture.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/intersection.svg b/src/__fixtures__/visual-tests/degenerate-01/intersection.svg new file mode 100644 index 0000000..92e4ec6 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/intersection.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/original.svg b/src/__fixtures__/visual-tests/degenerate-01/original.svg new file mode 100644 index 0000000..d1ed08c --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/original.svg @@ -0,0 +1,16 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-01/union.svg b/src/__fixtures__/visual-tests/degenerate-01/union.svg new file mode 100644 index 0000000..92e4ec6 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-01/union.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/difference.svg b/src/__fixtures__/visual-tests/degenerate-02/difference.svg new file mode 100644 index 0000000..88b4438 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/difference.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/division.svg b/src/__fixtures__/visual-tests/degenerate-02/division.svg new file mode 100644 index 0000000..6fcb351 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/division.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/exclusion.svg b/src/__fixtures__/visual-tests/degenerate-02/exclusion.svg new file mode 100644 index 0000000..3b29add --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/exclusion.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/fracture.svg b/src/__fixtures__/visual-tests/degenerate-02/fracture.svg new file mode 100644 index 0000000..42357c1 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/fracture.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/intersection.svg b/src/__fixtures__/visual-tests/degenerate-02/intersection.svg new file mode 100644 index 0000000..850d741 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/intersection.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/original.svg b/src/__fixtures__/visual-tests/degenerate-02/original.svg new file mode 100644 index 0000000..8219a5a --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/original.svg @@ -0,0 +1,16 @@ + + + + + + + diff --git a/src/__fixtures__/visual-tests/degenerate-02/union.svg b/src/__fixtures__/visual-tests/degenerate-02/union.svg new file mode 100644 index 0000000..2a94f85 --- /dev/null +++ b/src/__fixtures__/visual-tests/degenerate-02/union.svg @@ -0,0 +1,7 @@ + + + + + + +