Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation should have some canonical values #27

Open
ahh opened this issue Jul 12, 2020 · 1 comment
Open

Documentation should have some canonical values #27

ahh opened this issue Jul 12, 2020 · 1 comment

Comments

@ahh
Copy link

ahh commented Jul 12, 2020

I'm building some wrappers that'll use CityHash32 and CityHash64 under the hood. It'd be helpful for building tests that my wrappers are correct (e.g. pass the right offsets down) if the README.md has some canonical values for the current version, i.e. just

CityHash32("") = ...
CityHash32("some value") = ...

and same for 64.

Obviously these are unstable and could change, but it'd still be highly helpful. Thanks!

@sectokia
Copy link

See city-test file, which tests every function for expected pre-known outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants