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

add the hasCommonSubstring and add a test case #34

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

BingqingXue1
Copy link
Contributor

No description provided.

func TestHashDistance3(t *testing.T) {
d, err := Distance(h5, h6)
require.NoError(t, err)
assertDistanceEqual(t, 54, d)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've confirmed this is the correct distance in the reference implementation

Copy link
Owner

@glaslos glaslos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glaslos glaslos merged commit 569c989 into glaslos:main Apr 9, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants