blob: faf5a160831dfe5db5268093789767d813ece798 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <gtest/gtest.h>
#include "resources.h"
#include <cstdio>
int main(int argc, char** argv)
{
// testing::InitGoogleTest(&argc, argv);
// return RUN_ALL_TESTS();
embed::Resources ctx(metadata);
constexpr auto raw = entries.at("/icons/chevron-up.svg");
static_assert(!raw.empty());
const auto x = ctx.decompress(raw);
for(const char c : x)
printf("%c", c);
delete[] x.data();
return 0;
}
|