🧹 Replace Unsafe.As<bool, byte>
with (isWhite ? 1 : 0)
(#1155)
#4436
Annotations
10 errors
Run WinningAtChess_FixedTime tests:
tests/Lynx.Test/BestMove/WACSilver200.cs#L21
id WAC.055 depth 19 seldepth 19 nodes 2010789
Assert.That(actual, Is.EqualTo(expected))
String lengths are both 4. Strings differ at index 0.
Expected: "Qxg7"
But was: "Rff1"
-----------^
|
Run WinningAtChess_FixedTime tests:
tests/Lynx.Test/BestMove/WACSilver200.cs#L21
id WAC.071 depth 19 seldepth 19 nodes 2013709
Assert.That(actual, Is.EqualTo(expected))
Expected string length 4 but was 3. Strings differ at index 0.
Expected: "Nxa7"
But was: "Qd3"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.141 depth 21 seldepth 21 nodes 2048139
Assert.That(actual, Is.EqualTo(expected))
Expected string length 4 but was 3. Strings differ at index 0.
Expected: "Qxf4"
But was: "Kf1"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.163 depth 21 seldepth 21 nodes 1912941
Assert.That(actual, Is.EqualTo(expected))
Expected string length 3 but was 4. Strings differ at index 0.
Expected: "Qg2"
But was: "cxd5"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.196 depth 18 seldepth 18 nodes 2036744
Assert.That(actual, Is.EqualTo(expected))
Expected string length 3 but was 2. Strings differ at index 0.
Expected: "Nb4"
But was: "h6"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.210 depth 27 seldepth 27 nodes 2125275
Assert.That(actual, Is.EqualTo(expected))
String lengths are both 3. Strings differ at index 0.
Expected: "Rh1"
But was: "Bb5"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.220 depth 22 seldepth 22 nodes 2031997
Assert.That(actual, Is.EqualTo(expected))
Expected string length 4 but was 3. Strings differ at index 0.
Expected: "Qxf1"
But was: "Nf6"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.237 depth 25 seldepth 25 nodes 2444875
Assert.That(actual, Is.EqualTo(expected))
String lengths are both 3. Strings differ at index 2.
Expected: "Rc1"
But was: "Rc5"
-------------^
|
Run WinningAtChess_FixedTime tests
id WAC.256 depth 23 seldepth 23 nodes 2117062
Assert.That(actual, Is.EqualTo(expected))
Expected string length 3 but was 2. Strings differ at index 0.
Expected: "Nf5"
But was: "g3"
-----------^
|
Run WinningAtChess_FixedTime tests
id WAC.262 depth 17 seldepth 17 nodes 2002664
Assert.That(actual, Is.EqualTo(expected))
Expected string length 3 but was 2. Strings differ at index 0.
Expected: "Rh6"
But was: "c4"
-----------^
|
Loading