weltyc / ntest

NTest othello program
27 stars 12 forks source link

Notify user if book is corrupt #5

Closed weltyc closed 10 years ago

weltyc commented 10 years ago

Ntest currently detects corrupt books but, unless it is running in debug mode, totally ignores the information. Instead it should notify the user and terminate.

weltyc commented 10 years ago

This was mostly fixed by switching to and asserting that hash error == 0. However, if we ever compile using NDEBUG the assertion will not be checked.