blurhash icon indicating copy to clipboard operation
blurhash copied to clipboard

Add Swift Tests

Open daisuke-t-jp opened this issue 5 years ago • 1 comments

Hi,

I added encode tests to BlurHashKit.

Thanks.

daisuke-t-jp avatar Feb 23 '20 15:02 daisuke-t-jp

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.

DagAgren avatar Feb 24 '20 08:02 DagAgren