Changed Test statement

This commit is contained in:
AbhinavXT
2021-07-05 11:09:46 +05:30
parent 51a9126053
commit 58fca82ec3

View File

@ -1,21 +1,21 @@
import { setBit } from '../SetBit'
test('should set bit at the given bit Position', () => {
test('Set bit number 0 in 1:', () => {
const setBitPos = setBit(1, 0)
expect(setBitPos).toBe(1)
})
test('should set bit at the given bit Position', () => {
test('Set bit number 0 in 1:', () => {
const setBitPos = setBit(1, 0)
expect(setBitPos).toBe(1)
})
test('should set bit at the given bit Position', () => {
test('Set bit number 0 in 1:', () => {
const setBitPos = setBit(10, 1)
expect(setBitPos).toBe(10)
})
test('should set bit at the given bit Position', () => {
test('Set bit number 0 in 1:', () => {
const setBitPos = setBit(10, 2)
expect(setBitPos).toBe(14)
})