Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 19, 2024
1 parent c354198 commit d46be68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/test/primary_device_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,17 @@ TEST(PrimaryDeviceTest, ModeSelect)
TEST(PrimaryDeviceTest, ModeSense6)
{
MockPrimaryDevice device(0);
vector<uint8_t> v;
vector<uint8_t> buf;

EXPECT_EQ(0, device.ModeSense6( { }, v));
EXPECT_EQ(0, device.ModeSense6( { }, buf));
}

TEST(PrimaryDeviceTest, ModeSense10)
{
MockPrimaryDevice device(0);
vector<uint8_t> v;
vector<uint8_t> buf;

EXPECT_EQ(0, device.ModeSense10( { }, v));
EXPECT_EQ(0, device.ModeSense10( { }, buf));
}

TEST(PrimaryDeviceTest, TestUnitReady)
Expand Down

0 comments on commit d46be68

Please sign in to comment.