From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- testfiles/src/lpe64-test.cpp | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 testfiles/src/lpe64-test.cpp (limited to 'testfiles/src/lpe64-test.cpp') 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 +#include +#include + +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 -- cgit v1.2.3