summaryrefslogtreecommitdiffstats
path: root/testfiles/src/lpe64-test.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /testfiles/src/lpe64-test.cpp
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--testfiles/src/lpe64-test.cpp54
1 files changed, 54 insertions, 0 deletions
diff --git a/testfiles/src/lpe64-test.cpp b/testfiles/src/lpe64-test.cpp
new file mode 100644
index 0000000..91bf1c7
--- /dev/null
+++ b/testfiles/src/lpe64-test.cpp
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * LPE 64B tests
+ * Because some issues rounding in 32B windows we move this tests only to 64B
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2020 Authors
+ *
+ * Released under GNU GPL version 2 or later, read the file 'COPYING' for more information
+ */
+
+#include <gtest/gtest.h>
+#include <testfiles/lpespaths-test.h>
+#include <src/inkscape.h>
+
+using namespace Inkscape;
+using namespace Inkscape::LivePathEffect;
+
+class LPE64Test : public LPESPathsTest {
+public:
+ void run() {
+ testDoc(svg);
+ }
+};
+
+
+// A) FILE BASED TESTS
+TEST_F(LPE64Test, Bendpath_mixed_0_92_5) { run(); }
+TEST_F(LPE64Test, Bendpath_shape_1_0_2) { run(); }
+TEST_F(LPE64Test, Bendpath_shapeClipPath_1_0_2) { run(); }
+TEST_F(LPE64Test, Bendpath_multiGroup_1_0_2) { run(); }
+TEST_F(LPE64Test, Bendpath_stackNested_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, Bendpath_stackNested_px_1_0_2) { run(); }
+TEST_F(LPE64Test, BSpline_mixed_0_92_5) { run(); }
+TEST_F(LPE64Test, BSpline_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, BSpline_px_1_0_2) { run(); }
+TEST_F(LPE64Test, TaperStroke_multi_px_1_0_2) { run(); }
+TEST_F(LPE64Test, TaperStroke_multi_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, Sketch_path_0_92_5) { run(); }
+TEST_F(LPE64Test, Sketch_multi_px_1_0_2) { run(); }
+TEST_F(LPE64Test, Sketch_multi_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, PowerStroke_multi_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, PowerStroke_multi_px_1_0_2) { run(); }
+TEST_F(LPE64Test, PatternAlongPath_mixed_0_92_5) { run(); }
+TEST_F(LPE64Test, PatternAlongPath_shape_1_0_2) { run(); }
+TEST_F(LPE64Test, PatternAlongPath_path_1_0_2) { run(); }
+TEST_F(LPE64Test, PatternAlongPath_multiple_mm_1_0_2) { run(); }
+TEST_F(LPE64Test, PatternAlongPath_multiple_px_1_0_2) { run(); }
+TEST_F(LPE64Test, EnvelopeDeformation_multi_0_92_5) { run(); }
+TEST_F(LPE64Test, EnvelopeDeformation_multi_px_1_0_2) { run(); }
+TEST_F(LPE64Test, EnvelopeDeformation_multi_mm_1_0_2) { run(); }
+
+// B) CUSTOM TESTS \ No newline at end of file