add zip resource and new test
This commit is contained in:
@@ -42,3 +42,10 @@ TEST_CASE("Load icon")
|
||||
Array<char> nonExistingRes2 = loader.GetResource("NON_EXISTING_ICON", RT_GROUP_ICON);
|
||||
REQUIRE((nonExistingRes.Empty() && nonExistingRes2.Empty()));
|
||||
}
|
||||
|
||||
TEST_CASE("Load archive")
|
||||
{
|
||||
EmbeddedResourceLoaderWindows loader;
|
||||
Array<char> zipData = loader.GetResource(MAKEINTRESOURCE(ARCHIVE_RCDATA), RT_RCDATA);
|
||||
REQUIRE(!zipData.Empty());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user