Skip to content

Commit

Permalink
fix: Add test case for number 4 in isHappy function
Browse files Browse the repository at this point in the history
  • Loading branch information
pragusga25 committed Jul 13, 2024
1 parent 6b42551 commit d542214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions easy/happy-number.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ describe('Happy Number', () => {
it('should return false if the number is not happy', () => {
expect(isHappy(2)).toBeFalsy();
expect(isHappy(3)).toBeFalsy();
expect(isHappy(4)).toBeFalsy();
});
});

0 comments on commit d542214

Please sign in to comment.