Remove test "GAVAUDAN Laure". smart-pattern/valentina#103

This commit is contained in:
Roman Telezhynskyi 2021-03-04 14:41:51 +02:00
parent 707e0e682d
commit 8d7dc4bc91

View File

@ -862,87 +862,6 @@ void TST_VAbstractPiece::BrokenDetailEquidistant_data()
QTest::newRow(title) << inputPoints << width << outputPoints; QTest::newRow(title) << inputPoints << width << outputPoints;
}; };
// For more details see the file "collection/bugs/GAVAUDAN Laure - corsage - figure 4.val".
// We will test only one detail. The second require too accurate data that we cannot get from debuger.
// The test check an open equdistant of correct detail.
QVector<VSAPoint> points;// Input points.
VSAPoint p = VSAPoint(787.5835464566929, 1701.3138897637796);
p.SetSAAfter(-1);
p.SetSABefore(0);
points.append(p);
p = VSAPoint(863.1740976377953, 1701.3138897637796);
p.SetSAAfter(-1);
p.SetSAAfter(-1);
points.append(p);
points.append(VSAPoint(938.7646488188976, 1701.3138897637796));
points.append(VSAPoint(928.6149944255945, 1732.4440762118775));
points.append(VSAPoint(910.0209054382323, 1792.3369946802652));
points.append(VSAPoint(893.3643210561819, 1849.7845240486258));
points.append(VSAPoint(878.5243977752426, 1905.2261712206746));
points.append(VSAPoint(865.3802920912136, 1959.1014431001254));
points.append(VSAPoint(853.8111604998944, 2011.8498465906928));
points.append(VSAPoint(843.6961594970844, 2063.910888596092));
points.append(VSAPoint(834.9144455785826, 2115.7240760200366));
points.append(VSAPoint(827.3451752401882, 2167.7289157662426));
points.append(VSAPoint(820.8675049777007, 2220.364914738423));
points.append(VSAPoint(815.3605912869193, 2274.0715798402925));
points.append(VSAPoint(810.703590663643, 2329.2884179755656));
points.append(VSAPoint(806.7756596036716, 2386.454936047957));
points.append(VSAPoint(803.455954602804, 2446.0106409611817));
points.append(VSAPoint(800.6236321568394, 2508.395039618954));
points.append(VSAPoint(798.1578487615775, 2574.047638924988));
points.append(VSAPoint(797.0323653543306, 2608.4005039370077));
points.append(VSAPoint(929.3158299212598, 2608.4005039370077));
points.append(VSAPoint(927.9285659612306, 2548.9599884455793));
points.append(VSAPoint(925.157717598664, 2463.8329634071292));
points.append(VSAPoint(922.7222742526749, 2408.6782012856274));
points.append(VSAPoint(919.6220036804666, 2354.5469017384876));
points.append(VSAPoint(915.706969354324, 2301.1170261784787));
points.append(VSAPoint(910.8272347465313, 2248.066536018368));
points.append(VSAPoint(904.8328633293736, 2195.073392670922));
points.append(VSAPoint(897.5739185751353, 2141.8155575489095));
points.append(VSAPoint(888.9004639561011, 2087.9709920650976));
points.append(VSAPoint(878.6625629445558, 2033.2176576322527));
points.append(VSAPoint(866.7102790127839, 1977.233515663143));
points.append(VSAPoint(852.8936756330698, 1919.696527570536));
points.append(VSAPoint(837.0628162776984, 1860.284654767199));
points.append(VSAPoint(819.0677644189545, 1798.675858665899));
points.append(VSAPoint(798.7585835291225, 1734.548100679404));
points.append(VSAPoint(787.5835464566929, 1701.3138897637796));
p = VSAPoint(797.0323653543306, 2608.4005039370077);
p.SetSAAfter(0);
p.SetSABefore(-1);
points.append(p);
QVector<QPointF> ekvOrig;
ekvOrig.append(QPointF(787.1898456692913, 1663.5186141732283));
ekvOrig.append(QPointF(863.1740976377953, 1663.5186141732283));
ekvOrig.append(QPointF(990.8407796109454, 1663.5186141732283));
ekvOrig.append(QPointF(964.6314897747087, 1743.9055956070622));
ekvOrig.append(QPointF(946.222111945205, 1803.203545947388));
ekvOrig.append(QPointF(929.7733236875301, 1859.9343993344141));
ekvOrig.append(QPointF(915.1430683369846, 1914.5927314447797));
ekvOrig.append(QPointF(902.2033477151627, 1967.6302665424967));
ekvOrig.append(QPointF(890.8261161082305, 2019.5037195040304));
ekvOrig.append(QPointF(880.8841829577946, 2070.673996127427));
ekvOrig.append(QPointF(872.2520522462703, 2121.604624314014));
ekvOrig.append(QPointF(864.8064761358401, 2172.759620123457));
ekvOrig.append(QPointF(864.2562272534083, 2177.2308109121955));
ekvOrig.append(QPointF(860.1867773842832, 2147.3738416825267));
ekvOrig.append(QPointF(851.6617474319463, 2094.450692409028));
ekvOrig.append(QPointF(841.5996933370075, 2040.6378051462616));
ekvOrig.append(QPointF(829.8479530577714, 1985.5930036729653));
ekvOrig.append(QPointF(828.2738301865061, 1979.0378260789357));
ekvOrig.append(QPointF(834.4319111572987, 2570.213599275029));
ekvOrig.append(QPointF(796.554931640625, 2597.28125));
ekvOrig.append(QPointF(787.1898456692913, 1663.5186141732283));
QTest::newRow("GAVAUDAN Laure.") << points << 37.795275590551185 << ekvOrig;
// See the file "collection/bugs/Issue_#604.val" (since 0.5.0) // See the file "collection/bugs/Issue_#604.val" (since 0.5.0)
ASSERT_TEST_CASE("Issue #604.", ASSERT_TEST_CASE("Issue #604.",
QStringLiteral("://Issue_604/input.json"), QStringLiteral("://Issue_604/input.json"),