Remix.run Logo
Cpoll 2 hours ago

You forgot 0, -1, null, "1".

bluGill 19 minutes ago | parent [-]

Since I work in a strongly typed languages the last two will fail to compile and are thus not worth the bother - those who don't have that luxury of course need to test the edge cases that apply to them. The first are maybe, in my experience they are rarely a problem, but we need to go from the abstract to the particular algorithm before we can have a discussion on if they are potentially a problem or not.