From 1f3a85f36fc6df472fd97e154d65082ad0b6e58d Mon Sep 17 00:00:00 2001 From: Lawrence Stanton <52958935+LawrenceStanton@users.noreply.github.com> Date: Sun, 26 Nov 2023 23:26:19 +0200 Subject: [PATCH] Formatting --- Test/SM72445_Config.test.cpp | 3 ++- Test/SM72445_X.test.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Test/SM72445_Config.test.cpp b/Test/SM72445_Config.test.cpp index b858860..5eb7276 100644 --- a/Test/SM72445_Config.test.cpp +++ b/Test/SM72445_Config.test.cpp @@ -189,7 +189,8 @@ TEST_F(SM72445_Config, getConfigReturnsExpectedConfig) { // Unused bbReset false, // Don't care false, // Don't care - }}}; + }} + }; for (const auto &[testReg3Value, expected] : testValues) { EXPECT_CALL(i2c, read).WillOnce(Return(testReg3Value)); diff --git a/Test/SM72445_X.test.cpp b/Test/SM72445_X.test.cpp index 7a758c1..7b35a04 100644 --- a/Test/SM72445_X.test.cpp +++ b/Test/SM72445_X.test.cpp @@ -49,7 +49,8 @@ TEST(SM72445_X_GainTest, getGainNormallyReturnsCorrespondingGainValue) { vInGain, vOutGain, iInGain, - iOutGain}; + iOutGain + }; EXPECT_FLOAT_EQ(sm72445Gain.getGain(ElectricalProperty::VOLTAGE_IN), vInGain); EXPECT_FLOAT_EQ(sm72445Gain.getGain(ElectricalProperty::VOLTAGE_OUT), vOutGain); @@ -69,7 +70,8 @@ TEST(SM72445_X_GainTest, getGainReturnsZeroIfGivenPropertyInvalid) { 1.0f, 1.0f, 1.0f, - 1.0f}; + 1.0f + }; EXPECT_EQ(sm72445Gain.getGain(static_cast(0xFFu)), 0.0f); EXPECT_EQ(sm72445Gain.getGain(static_cast(0xAAu)), 0.0f); }