The gist you cite also tests `NegativeInfinity` and `MaxValue` at the beginning. Why don't you?