blurhash
blurhash copied to clipboard
Add Swift Tests
Hi,
I added encode tests to BlurHashKit.
Thanks.
Same issue here as in https://github.com/woltapp/blurhash/pull/42: The algorithm isn't really specified strictly enough for there to be exact correct results for a given image. So this test only checks that the current implementation remains as is, but that is not necessarily the correct answer. So I do not think tests are useful until there is a strict specification, if that ever happens.