mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
DroidFishTest: Updated opening name in eco test.
This commit is contained in:
parent
91c6a39bb7
commit
2a447aba64
|
@ -125,13 +125,13 @@ public class EcoTest extends AndroidTestCase {
|
|||
for (String m : new String[]{"d4", "Nf6", "c4", "g6", "Nc3", "d5", "Nf3", "c6"})
|
||||
game.processString(m);
|
||||
String eco = ecoDb.getEco(game.tree).getName();
|
||||
assertEquals("D90: Gruenfeld, Schlechter variation", eco);
|
||||
assertEquals("D90: Grünfeld, Schlechter variation", eco);
|
||||
assertEquals(0, ecoDb.getEco(game.tree).distToEcoTree);
|
||||
game.processString("h4");
|
||||
assertEquals("D90: Gruenfeld, Schlechter variation", eco);
|
||||
assertEquals("D90: Grünfeld, Schlechter variation", eco);
|
||||
assertEquals(1, ecoDb.getEco(game.tree).distToEcoTree);
|
||||
game.processString("h5");
|
||||
assertEquals("D90: Gruenfeld, Schlechter variation", eco);
|
||||
assertEquals("D90: Grünfeld, Schlechter variation", eco);
|
||||
assertEquals(2, ecoDb.getEco(game.tree).distToEcoTree);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user