Files
breeze/tests/assets_link_test.c
T
waoziandClaude Opus 5.5 dc67b1bfbe Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 15:40:52 -03:00

20 lines
498 B
C

#include "assets_link_behavior.h"
#include "assets_host.h"
#include <assert.h>
#include <string.h>
int
main(void)
{
AssetBlob style = asset_lookup((uint8_t *)"assets/styles/inbe.kss");
AssetBlob missing = asset_lookup((uint8_t *)"assets/styles/missing.kss");
assert(style.found && style.size > 4);
assert(memcmp(style.data, "Text", 4) == 0);
assert(strcmp((const char *)style.mime, "text/plain") == 0);
assert(!missing.found);
assert(Answer() == 42);
return 0;
}