-
Notifications
You must be signed in to change notification settings - Fork 105
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
api: dotnet: expose oneBitsList #329
api: dotnet: expose oneBitsList #329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine by me. Need to introduce CI for .NET tests later
@@ -1694,6 +1694,11 @@ public string check2(string type) | |||
return dispatcher.checkResult(IndigoLib.indigoCheckObj2(self, type)); | |||
} | |||
|
|||
public IndigoObject fingerprint() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have real demand for such method (except in test, where no problem to pass null)?
Assert.AreEqual( | ||
"1698 1719 1749 1806 1909 1914 1971 2056", | ||
indigoObject.fingerprint().oneBitsList(), | ||
"same one bits as in string 1698 1719 1749 1806 1909 1914 1971 205"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why missed the last 6
in the string? (205
instead 2056
)
Here and in the referred Java pull request (apparently copy-pasted).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, my bad.
Imho this data shouldn't be mentioned in the message parameter.
oneBitsList was not mapped in dotnet
related java issue: #191
ps: also added necessary gitignore patterns for dotnet tools