Fix tests.

This commit is contained in:
Roman Telezhynskyi 2020-10-16 12:16:47 +03:00
parent 3133ae1609
commit 92c3f75e02
2 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="dimesionValue"> <xs:simpleType name="dimesionValue">
<xs:restriction base="xs:unsignedInt"> <xs:restriction base="xs:unsignedInt">
<xs:minInclusive value="8"/> <xs:minInclusive value="6"/>
<xs:maxInclusive value="2720"/> <xs:maxInclusive value="2720"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>

View File

@ -54,7 +54,7 @@ void TST_VMeasurements::CreateEmptyMultisizeFile()
auto m_xDimension = QSharedPointer<VXMeasurementDimension>::create(mUnit, 50, 200, 6); auto m_xDimension = QSharedPointer<VXMeasurementDimension>::create(mUnit, 50, 200, 6);
m_xDimension->SetBaseValue(176); m_xDimension->SetBaseValue(176);
auto m_yDimension = QSharedPointer<VYMeasurementDimension>::create(mUnit, 2, 22, 72); auto m_yDimension = QSharedPointer<VYMeasurementDimension>::create(mUnit, 22, 72, 2);
m_yDimension->SetBaseValue(50); m_yDimension->SetBaseValue(50);
m_yDimension->SetCircumference(true); m_yDimension->SetCircumference(true);
@ -149,7 +149,7 @@ void TST_VMeasurements::ValidPMCodesMultisizeFile()
auto m_xDimension = QSharedPointer<VXMeasurementDimension>::create(mUnit, 50, 200, 6); auto m_xDimension = QSharedPointer<VXMeasurementDimension>::create(mUnit, 50, 200, 6);
m_xDimension->SetBaseValue(176); m_xDimension->SetBaseValue(176);
auto m_yDimension = QSharedPointer<VYMeasurementDimension>::create(mUnit, 2, 22, 72); auto m_yDimension = QSharedPointer<VYMeasurementDimension>::create(mUnit, 22, 72, 2);
m_yDimension->SetBaseValue(50); m_yDimension->SetBaseValue(50);
m_yDimension->SetCircumference(true); m_yDimension->SetCircumference(true);