From e8b45cae1841c4ed30013cd3cb85257fce027e7f Mon Sep 17 00:00:00 2001 From: Viatrix Date: Wed, 11 Mar 2026 13:59:20 -0700 Subject: Enclave test case added Updated other test cases that changed order due to enclave handling code --- tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out | 6 ++++++ tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out | 2 +- tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out | 2 +- tests/data/svg/enclave.svg | 8 ++++++++ tests/test_imagemap_comparison.py | 1 + 5 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out create mode 100644 tests/data/svg/enclave.svg (limited to 'tests') diff --git a/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out b/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out new file mode 100644 index 0000000..611ef39 --- /dev/null +++ b/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out @@ -0,0 +1,6 @@ + + + + + + diff --git a/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out b/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out index cab9492..5af12ea 100644 --- a/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out +++ b/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out @@ -1,2 +1,2 @@ - + diff --git a/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out b/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out index 8f8d95d..de38166 100644 --- a/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out +++ b/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out @@ -1,4 +1,4 @@ - + diff --git a/tests/data/svg/enclave.svg b/tests/data/svg/enclave.svg new file mode 100644 index 0000000..db8d777 --- /dev/null +++ b/tests/data/svg/enclave.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/tests/test_imagemap_comparison.py b/tests/test_imagemap_comparison.py index 087a3d8..959e98e 100644 --- a/tests/test_imagemap_comparison.py +++ b/tests/test_imagemap_comparison.py @@ -4,6 +4,7 @@ from imagemap import ImageMap class ImageMapComparisonTest(ComparisonMixin, TestCase): effect_class = ImageMap compare_file = ( + 'svg/enclave.svg', 'svg/intersect.svg', 'svg/overlap.svg', 'svg/rect.svg', -- cgit