From 58fca82ec3b19f84500fb0c5d05443ef043f21d2 Mon Sep 17 00:00:00 2001 From: AbhinavXT Date: Mon, 5 Jul 2021 11:09:46 +0530 Subject: [PATCH] Changed Test statement --- Bit-Manipulation/test/SetBit.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Bit-Manipulation/test/SetBit.test.js b/Bit-Manipulation/test/SetBit.test.js index 7a4d0dcd7..f16e32929 100644 --- a/Bit-Manipulation/test/SetBit.test.js +++ b/Bit-Manipulation/test/SetBit.test.js @@ -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) })