Skip to content

Commit 01a6fe7

Browse files
committed
Merge branch 'SetBit'
2 parents cab1760 + 58fca82 commit 01a6fe7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Bit-Manipulation/test/SetBit.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { setBit } from '../SetBit'
22

3-
test('should set bit at the given bit Position', () => {
3+
test('Set bit number 0 in 1:', () => {
44
const setBitPos = setBit(1, 0)
55
expect(setBitPos).toBe(1)
66
})
77

8-
test('should set bit at the given bit Position', () => {
8+
test('Set bit number 0 in 1:', () => {
99
const setBitPos = setBit(1, 0)
1010
expect(setBitPos).toBe(1)
1111
})
1212

13-
test('should set bit at the given bit Position', () => {
13+
test('Set bit number 0 in 1:', () => {
1414
const setBitPos = setBit(10, 1)
1515
expect(setBitPos).toBe(10)
1616
})
1717

18-
test('should set bit at the given bit Position', () => {
18+
test('Set bit number 0 in 1:', () => {
1919
const setBitPos = setBit(10, 2)
2020
expect(setBitPos).toBe(14)
2121
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy