Skip to content

Commit 58fca82

Browse files
committed
Changed Test statement
1 parent 51a9126 commit 58fca82

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)