Add more test cases for countSetBits().

This commit is contained in:
Oleksii Trekhleb 2020-08-21 07:29:58 +02:00
parent 6af63239ab
commit 07bc4a4b97

View File

@ -15,5 +15,6 @@ describe('countSetBits', () => {
expect(countSetBits(-21)).toBe(30);
expect(countSetBits(-255)).toBe(25);
expect(countSetBits(-1023)).toBe(23);
expect(countSetBits(-4294967296)).toBe(0);
});
});