Test GetXFromLPARAM with sample LPARAM
| 11 | { |
| 12 | // Test GetXFromLPARAM with sample LPARAM |
| 13 | TEST(CUtilityTest, GetXFromLPARAM) |
| 14 | { |
| 15 | CUtility util; |
| 16 | LPARAM lp = MAKELPARAM(50, 100); |
| 17 | short x = util.GetXFromLPARAM(lp); |
| 18 | EXPECT_EQ(x, 50); |
| 19 | } |
| 20 | |
| 21 | // Test GetYFromLPARAM with sample LPARAM |
| 22 | TEST(CUtilityTest, GetYFromLPARAM) |
nothing calls this directly
no test coverage detected