You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, you should copy the test cases from math/bits: https://golang.org/src/math/bits/bits_test.go (specifically, you'll probably want to use the tab array from the bottom of the file).
Feel free to submit tests for all of these, or just one. You can also convert the existing LeadingZeros test to match the testing format used in math/bits.
The text was updated successfully, but these errors were encountered:
The following methods are missing test coverage:
TrailingZeros
OnesCount
RotateLeft
RotateRight
Reverse
ReverseBytes
Len
Ideally, you should copy the test cases from
math/bits
: https://golang.org/src/math/bits/bits_test.go (specifically, you'll probably want to use thetab
array from the bottom of the file).Feel free to submit tests for all of these, or just one. You can also convert the existing
LeadingZeros
test to match the testing format used inmath/bits
.The text was updated successfully, but these errors were encountered: