Skip to content

Commit

Permalink
fixed test case issue
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuredra committed Sep 21, 2023
1 parent 82b11c7 commit bc7f916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bit-Manipulation/test/IsPowerOfFour.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsPowerOfFour } from '../IsPowerofFour'
import { isPowerOfFour } from '../IsPowerofFour'

describe('IsPowerOfFour', () => {
it.each([
Expand All @@ -9,6 +9,6 @@ describe('IsPowerOfFour', () => {
[64, true],
[-64, false]
])('should return the number is power of four or not', (n, expected) => {
expect(IsPowerOfFour(n)).toBe(expected)
expect(isPowerOfFour(n)).toBe(expected)
})
})

0 comments on commit bc7f916

Please sign in to comment.