Skip to content

Commit

Permalink
sonarshit
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Feb 1, 2025
1 parent 0d27ccc commit 0e003ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/general/test_edid_parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ TEST_S(NoData) {
EXPECT_EQ(display_device::EdidData::parse({}), std::nullopt);
}

TEST_S(TooLittleData) {
EXPECT_EQ(display_device::EdidData::parse({std::byte {0x11}}), std::nullopt);
}

TEST_S(BadFixedHeader) {
auto EDID_DATA {ut_consts::DEFAULT_EDID};
EDID_DATA[1] = std::byte {0xAA};
Expand Down

0 comments on commit 0e003ef

Please sign in to comment.