mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
- add regression test for Game::load - this test currently fails with a segfault
This commit is contained in:
parent
b7f5f46391
commit
644653be0a
4 changed files with 26 additions and 0 deletions
|
@ -45,3 +45,7 @@ freegame_change 3
|
|||
# Three AI players
|
||||
freegame_3_ai 2
|
||||
|
||||
#
|
||||
# Load / Save
|
||||
#
|
||||
load_game 0
|
||||
|
|
2
test/load_game.input
Normal file
2
test/load_game.input
Normal file
|
@ -0,0 +1,2 @@
|
|||
c test.elt
|
||||
q
|
3
test/load_game.ref
Normal file
3
test/load_game.ref
Normal file
|
@ -0,0 +1,3 @@
|
|||
[?] pour l'aide
|
||||
commande> c test.elt
|
||||
chargement de -test.elt-
|
17
test/test.elt
Normal file
17
test/test.elt
Normal file
|
@ -0,0 +1,17 @@
|
|||
Eliot
|
||||
|
||||
Game type: Training
|
||||
Player 0: Human
|
||||
|
||||
N | RACK | SOLUTION | REF | PTS | P | BONUS
|
||||
===|==========|=================|=====|=====|===|======
|
||||
1 | TSL?ENU | LUTiNES | H7 | 64 | 0 | *
|
||||
2 | EURTEAA | LAUREATE | 7H | 60 | 0 | *
|
||||
3 | SAFNEQT | FANEES | O4 | 39 | 0 |
|
||||
4 | QT+SAPIO | PORTAIS | K5 | 36 | 0 |
|
||||
5 | Q+I?JEEG | JuGEES | 13C | 28 | 0 |
|
||||
6 | IQ+ZRFEH | QUIZ | D12 | 58 | 0 |
|
||||
|
||||
Total: 285
|
||||
|
||||
Rack 0: EFHR
|
Loading…
Reference in a new issue