95% faster local image url getting

added localImageURL() test
This commit is contained in:
neon443
2025-10-30 15:33:31 +00:00
parent 780e66ce0d
commit b738a06835
3 changed files with 11 additions and 4 deletions

View File

@@ -10,11 +10,17 @@ import Testing
struct StickerSlackTests {
var hoarder = EmojiHoarder()
@Test func example() async throws {
@Test func stickerConversion() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
for emoji in hoarder.emojis {
print(emoji.sticker)
}
}
@Test func localImageURL() async throws {
for emoji in hoarder.emojis {
print(emoji.localImageURL)
}
}
}