Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve test coverage #4
This PR adds additional tests, and improves overall test coverage from 88.8% to 93.3%.
There are two changes to the module itself, in response to specific warnings appearing when creating objects with particularly egregious arguments.
The first change removes the warning "Illegal hexadecimal digit 'Y' ignored" when passing a mask like '0xY', and ensures that only valid hex characters are allowed.
The second change removes the warning "Use of uninitialized value in bitwise and (&)", by ensuring that $bits is defined and valid before using it to modify $ibase.