Commit graph

8 commits

Author SHA1 Message Date
Antoine Fraboulet
f0949a59de - adding some tests : training_joker2 still fails, no clue where it comes from
search should find much more results - regression from 1.4
2006-11-05 13:34:27 +00:00
Antoine Fraboulet
a97b91dfe6 - add new regression test for a bug on loading previously saved games 2006-08-11 22:04:45 +00:00
Antoine Fraboulet
f6fa78c32c - driver
add "training_cross" test that checks horizontal scores in board_cross.cpp
    add several load/save tests
    add regexp test

  - Corrections
       training_search.ref : correcting reference file - 5 points instead of 4 on (Eh, En, Es, Ex)
       training_back.ref : sorting order (linked to points bug - insertion order in list)
       duplicate_2_ai.ref : correct score, change the whole game
       freegame_passing.ref : correct score (JEUNE H11 +2 : 45 -> 47)
       freegame_3_ai.ref : correct score 13:CAPEYE+4, 14:VOLETE+3, 16:FULL+2, 17:VIDE+5
2006-01-01 19:25:10 +00:00
Antoine Fraboulet
644653be0a - add regression test for Game::load - this test currently fails with a segfault 2005-12-27 09:13:48 +00:00
Antoine Fraboulet
e9dca4ea65 - adding regression test for Game::back() method 2005-12-27 01:04:49 +00:00
Olivier Teulière
f060497e47 Unlike libreadline 4, libreadline 5 echoes the input given with < input_file.
The regression scenarios are now adapted to the behaviour of libreadline 5.
2005-12-24 17:50:11 +00:00
Olivier Teulière
b4e66f273e Use the readline library in the text interface. In particular, it provides
a history of commands
2005-04-27 17:55:32 +00:00
Olivier Teulière
25304bd978 test/*: Added non-regression tests, based on the text interface.
'regression.pl' is the script that runs the regression, and 'drivers' contains
the list of scenario files to be played.
By default, the complete regerssion is played, but you can play specific
scenarios by adding them to the command-line.
Example: ./regression.pl training_bag freegame_change
2005-04-16 15:47:59 +00:00