MCPcopy Create free account
hub / github.com/defold/defold / TEST

Function TEST

engine/dlib/src/test/test_image.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42TEST(dmImage, Empty)
43{
44 dmImage::Image image;
45 dmImage::Result r = dmImage::Load(0, 0, false, false, &image);
46 ASSERT_EQ(dmImage::RESULT_IMAGE_ERROR, r);
47}
48
49TEST(dmImage, Corrupt)
50{

Callers

nothing calls this directly

Calls 10

mallocFunction · 0.85
freeFunction · 0.85
LoadFunction · 0.50
FreeFunction · 0.50
GetWidthFunction · 0.50
GetHeightFunction · 0.50
GetTypeFunction · 0.50
GetDataFunction · 0.50
GetAstcBlockSizeFunction · 0.50
GetAstcDimensionsFunction · 0.50

Tested by

no test coverage detected