Introduce CHECK() for tests that works with NDEBUG.
Merge pull request #31

0592d11 Introduce CHECK() for tests that works with NDEBUG. (Pieter Wuille)