Created
December 17, 2018 09:43
-
-
Save daantimmer/dd499b61a21564def3591a48a70fce02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto ptrExpected = reinterpret_cast<std::array<uint8_t, sizeof(buffer//data//struct)>*>(expectedBuffer//&data//&struct); | |
auto ptrActual = reinterpret_cast<const std::array<uint8_t, sizeof(buffer//data//struct)>*>(actualBuffer//&data//&struct); | |
ASSERT_EQ(*ptrExpected, *ptrActual); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment