Fix PassedPawnBonus #1548
Annotations
2 errors and 2 warnings
Run Configuration tests:
tests/Lynx.Test/ConfigurationTest.cs#L16
Multiple failures or warnings in test:
1) Error in IsolatedPawnPenalty (System.Int32): (Configuration.cs) 10 != 1 (appSettings.json)
Expected string length 2 but was 1. Strings differ at index 1.
Expected: "10"
But was: "1"
------------^
2) Error in DoubledPawnPenalty (System.Int32): (Configuration.cs) 10 != 1 (appSettings.json)
Expected string length 2 but was 1. Strings differ at index 1.
Expected: "10"
But was: "1"
------------^
3) Error in SemiOpenFileRookBonus (System.Int32): (Configuration.cs) 10 != 17 (appSettings.json)
String lengths are both 2. Strings differ at index 1.
Expected: "10"
But was: "17"
------------^
4) Error in OpenFileRookBonus (System.Int32): (Configuration.cs) 15 != 31 (appSettings.json)
String lengths are both 2. Strings differ at index 0.
Expected: "15"
But was: "31"
-----------^
5) Error in SemiOpenFileKingPenalty (System.Int32): (Configuration.cs) 10 != 0 (appSettings.json)
Expected string length 2 but was 1. Strings differ at index 0.
Expected: "10"
But was: "0"
-----------^
6) Error in OpenFileKingPenalty (System.Int32): (Configuration.cs) 15 != -41 (appSettings.json)
Expected string length 2 but was 3. Strings differ at index 0.
Expected: "15"
But was: "-41"
-----------^
7) Error in BishopPairMaxBonus (System.Int32): (Configuration.cs) 100 != 66 (appSettings.json)
Expected string length 3 but was 2. Strings differ at index 0.
Expected: "100"
But was: "66"
-----------^
|
Run Configuration tests
Process completed with exit code 1.
|
Build:
tests/Lynx.Test/BestMove/RegressionTest.cs#L268
Use 'AsSpan' instead of the 'System.Range'-based indexer on 'string' to avoid creating unnecessary data copies (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1831)
|
Build:
tests/Lynx.Test/BestMove/RegressionTest.cs#L268
Use 'AsSpan' instead of the 'System.Range'-based indexer on 'string' to avoid creating unnecessary data copies (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1831)
|
The logs for this run have expired and are no longer available.
Loading