MCPcopy Create free account
hub / github.com/avast/retdec / TEST_F

Function TEST_F

tests/utils/conversion_tests.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24//
25
26TEST_F(ConversionTests,
27ToHexCorrectConversionNoBase) {
28 EXPECT_EQ("0", intToHexString(0x0, false));
29 EXPECT_EQ("1", intToHexString(0x1, false));
30 EXPECT_EQ("f", intToHexString(0xf, false));
31 EXPECT_EQ("400", intToHexString(0x400, false));
32 EXPECT_EQ("ffff", intToHexString(0xffff, false));
33}
34
35TEST_F(ConversionTests,
36ToHexCorrectConversionWithBase) {

Callers

nothing calls this directly

Calls 10

intToHexStringFunction · 0.85
strToNumFunction · 0.85
bytesToBitsFunction · 0.85
double10ToDouble8Function · 0.85
byteSwap16Function · 0.85
byteSwap32Function · 0.85
hexStringToBytesFunction · 0.85
bytesToHexStringFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected