Commit cefb02cd by bernhard-gatzhammer

Removed too long line coding style issues.

EMBB-466.
parent 49f9eb35
...@@ -36,7 +36,9 @@ namespace test { ...@@ -36,7 +36,9 @@ namespace test {
TimeTest::TimeTest() { TimeTest::TimeTest() {
CreateUnit("Time in duration").Add(&TimeTest::TestTimeInDuration, this); CreateUnit("Time in duration").Add(&TimeTest::TestTimeInDuration, this);
CreateUnit("Monotonicity").Add(&TimeTest::TestMonotonicity, this, 1, partest::TestSuite::GetDefaultNumIterations() * 10); CreateUnit("Monotonicity").Add(
&TimeTest::TestMonotonicity, this,
1, partest::TestSuite::GetDefaultNumIterations() * 10);
} }
void TimeTest::TestTimeInDuration() { void TimeTest::TestTimeInDuration() {
...@@ -56,8 +58,10 @@ void TimeTest::TestMonotonicity() { ...@@ -56,8 +58,10 @@ void TimeTest::TestMonotonicity() {
int status2 = embb_time_in(&second, embb_duration_zero()); int status2 = embb_time_in(&second, embb_duration_zero());
PT_EXPECT_EQ(status1, EMBB_SUCCESS); PT_EXPECT_EQ(status1, EMBB_SUCCESS);
PT_EXPECT_EQ(status2, EMBB_SUCCESS); PT_EXPECT_EQ(status2, EMBB_SUCCESS);
unsigned long long first_abs = first.seconds * 1000 + first.nanoseconds / 1000000; unsigned long long first_abs = first.seconds * 1000 +
unsigned long long second_abs = second.seconds * 1000 + second.nanoseconds / 1000000; first.nanoseconds / 1000000;
unsigned long long second_abs = second.seconds * 1000 +
second.nanoseconds / 1000000;
PT_EXPECT_GE(second_abs, first_abs); PT_EXPECT_GE(second_abs, first_abs);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment