Update unit tests

This commit is contained in:
Daniel Markstedt 2024-01-15 15:55:36 +09:00 committed by Daniel Markstedt
parent 12d43f370d
commit 274b93fe27

View File

@ -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"]);
@ -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)