Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Jan 26, 2024
1 parent 12d43f3 commit 274b93f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/test/device_factory_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ TEST(DeviceFactoryTest, GetExtensionMapping)
DeviceFactory device_factory;

auto mapping = device_factory.GetExtensionMapping();
EXPECT_EQ(10, mapping.size());
EXPECT_EQ(12, mapping.size());
EXPECT_EQ(SCHD, mapping["hd1"]);
EXPECT_EQ(SCHD, mapping["hds"]);
EXPECT_EQ(SCHD, mapping["hda"]);
Expand All @@ -57,6 +57,8 @@ TEST(DeviceFactoryTest, GetExtensionMapping)
EXPECT_EQ(SCMO, mapping["mos"]);
EXPECT_EQ(SCCD, mapping["iso"]);
EXPECT_EQ(SCCD, mapping["is1"]);
EXPECT_EQ(SCCD, mapping["cdr"]);
EXPECT_EQ(SCCD, mapping["toast"]);
}

TEST(DeviceFactoryTest, UnknownDeviceType)
Expand Down

0 comments on commit 274b93f

Please sign in to comment.