[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
WandererFan
parent
a207d11fa4
commit
e92ed45df9
@@ -33,19 +33,19 @@ private Q_SLOTS:
|
||||
void cleanup()
|
||||
{}
|
||||
|
||||
void test_SimpleBaseUnit()// NOLINT
|
||||
void test_SimpleBaseUnit() // NOLINT
|
||||
{
|
||||
auto result = qsb->valueFromText("1mm");
|
||||
QCOMPARE(result, Base::Quantity(1, QLatin1String("mm")));
|
||||
}
|
||||
|
||||
void test_UnitInNumerator()// NOLINT
|
||||
void test_UnitInNumerator() // NOLINT
|
||||
{
|
||||
auto result = qsb->valueFromText("1mm/10");
|
||||
QCOMPARE(result, Base::Quantity(0.1, QLatin1String("mm")));
|
||||
}
|
||||
|
||||
void test_UnitInDenominator()// NOLINT
|
||||
void test_UnitInDenominator() // NOLINT
|
||||
{
|
||||
auto result = qsb->valueFromText("1/10mm");
|
||||
QCOMPARE(result, Base::Quantity(0.1, QLatin1String("mm")));
|
||||
|
||||
Reference in New Issue
Block a user