-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Added SetBit.js, SetBit.test.js in Bit-Manipulation directory #632
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
Conversation
Bit-Manipulation/test/SetBit.test.js
Outdated
@@ -0,0 +1,21 @@ | |||
import { setBit } from '../SetBit' | |||
|
|||
test('should set bit at the given bit Position', () => { |
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.
Expand the test message a bit to give as much information as possible.
Here:
test('should set bit at the given bit Position', () => { | |
test('Set bit number 0 in 1:', () => { |
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.
Add this for all the tests.
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.
@AbhinavXT Do not apply the same name to all of them, replace the 0 and 1 with the bit number and the number respectively.
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, Sorry about that. I will correct the changes.
#630 Progress. |
Welcome to JavaScript community
Describe your change:
Checklist:
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are notFixes: #{$ISSUE_NO}
.