13.19d: 2190a1b verified; sizeLabel's ties tested; tests read optionals through value(); two mask tests brought to 13.12
This commit is contained in:
1 parent
ab34fd6ace
commit
3757eb8910
40 files changed
+233
-220
No files matched your search
@@ -176,7 +176,7 @@ void SelectionFeatherTests::aMaskFromAFeatheredSelectionFades()
|
||||
EditorSession session;
|
||||
session.createDocument(60, 20, true);
|
||||
session.setSelection(DocumentSelection{rectPath(QRectF(20, 0, 20, 20)), true, 6}, "probe");
|
||||
session.addMask(false);
|
||||
session.addMask(true);
|
||||
const QImage mask = session.activeLayer().value().mask.value().asset.image();
|
||||
QCOMPARE(mask, session.document().value().layers.back().mask.value().asset.image());
|
||||
QVERIFY2(fading(mask, 10, 0, 1) >= 4, "the mask has a hard edge");
|
||||
|
||||
Reference in new issue
Block a user