mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-18 03:32:18 +01:00
DroidFishTest: Fixed an opening book test.
This commit is contained in:
@@ -87,7 +87,7 @@ final class InternalBook implements IOpeningBook {
|
||||
try {
|
||||
InputStream inStream = getClass().getResourceAsStream("/book.bin");
|
||||
if (inStream == null)
|
||||
throw new IOException("Can't read internal opening book");
|
||||
throw new IOException();
|
||||
List<Byte> buf = new ArrayList<Byte>(8192);
|
||||
byte[] tmpBuf = new byte[1024];
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user