From 92c3f75e0218cf7cab858dfb0619c77e23ce731a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 16 Oct 2020 12:16:47 +0300 Subject: [PATCH] Fix tests. --- src/libs/ifc/schema/multisize_measurements/v0.5.0.xsd | 2 +- src/test/ValentinaTest/tst_vmeasurements.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/ifc/schema/multisize_measurements/v0.5.0.xsd b/src/libs/ifc/schema/multisize_measurements/v0.5.0.xsd index b45ba1225..82ba0a452 100644 --- a/src/libs/ifc/schema/multisize_measurements/v0.5.0.xsd +++ b/src/libs/ifc/schema/multisize_measurements/v0.5.0.xsd @@ -112,7 +112,7 @@ - + diff --git a/src/test/ValentinaTest/tst_vmeasurements.cpp b/src/test/ValentinaTest/tst_vmeasurements.cpp index 79a32e474..4fa0dd187 100644 --- a/src/test/ValentinaTest/tst_vmeasurements.cpp +++ b/src/test/ValentinaTest/tst_vmeasurements.cpp @@ -54,7 +54,7 @@ void TST_VMeasurements::CreateEmptyMultisizeFile() auto m_xDimension = QSharedPointer::create(mUnit, 50, 200, 6); m_xDimension->SetBaseValue(176); - auto m_yDimension = QSharedPointer::create(mUnit, 2, 22, 72); + auto m_yDimension = QSharedPointer::create(mUnit, 22, 72, 2); m_yDimension->SetBaseValue(50); m_yDimension->SetCircumference(true); @@ -149,7 +149,7 @@ void TST_VMeasurements::ValidPMCodesMultisizeFile() auto m_xDimension = QSharedPointer::create(mUnit, 50, 200, 6); m_xDimension->SetBaseValue(176); - auto m_yDimension = QSharedPointer::create(mUnit, 2, 22, 72); + auto m_yDimension = QSharedPointer::create(mUnit, 22, 72, 2); m_yDimension->SetBaseValue(50); m_yDimension->SetCircumference(true);