calendarui/views/dayview/tsrc/unittests/unittest_calendayutils/unittest_calendayutils.cpp
equal
deleted
inserted
replaced
127 |
127 |
128 void TestCalenDayUtils::testHourElementHeight() |
128 void TestCalenDayUtils::testHourElementHeight() |
129 { |
129 { |
130 |
130 |
131 qreal hEH = mUtils->hourElementHeight(); |
131 qreal hEH = mUtils->hourElementHeight(); |
132 qreal myHeight = mUnit * 3 + param_value * 4; |
132 qreal myHeight = mUnit* 4.1 + param_value * 2 + param_value * 2; |
133 |
133 |
134 QCOMPARE(hEH, myHeight); |
134 QCOMPARE(hEH, myHeight); |
135 } |
135 } |
136 |
136 |
137 void TestCalenDayUtils::testContentWidth() |
137 void TestCalenDayUtils::testContentWidth() |