Ticket #96: gunnar_7_9.7b.diff

File gunnar_7_9.7b.diff, 1.6 KB (added by gunnar, 6 years ago)

additional regression tests related to trevord:790

  • engine/value_moves.c

    RCS file: /cvsroot/gnugo/gnugo/engine/value_moves.c,v
    retrieving revision 1.166
    diff -u -r1.166 value_moves.c
     
    24552455 
    24562456  mark_inessential_stones(OTHER_COLOR(color), safe_stones); 
    24572457 
    2458   if (move[pos].move_safety == 1 && safe_move(pos, color) == WIN) { 
     2458  if (move[pos].move_safety == 1 && safe_move(pos, color) != 0) { 
    24592459    safe_stones[pos] = INFLUENCE_SAVED_STONE; 
    24602460    strength[pos] = DEFAULT_STRENGTH; 
    24612461    if (0) 
  • regression/owl1.tst

    RCS file: /cvsroot/gnugo/gnugo/regression/owl1.tst,v
    retrieving revision 1.119
    diff -u -r1.119 owl1.tst
     
    517517389 owl_attack E3 
    518518#? [0] 
    519519 
     520# See also trevord:790. 
     521loadsgf games/trevor/auto/d32.sgf 240 
     522390 owl_attack Q14 
     523#? [3 P14] 
     524391 owl_defend Q14 
     525#? [1 P14] 
     526392 owl_does_defend T13 Q14 
     527#? [2] 
  • regression/trevord.tst

    RCS file: /cvsroot/gnugo/gnugo/regression/trevord.tst,v
    retrieving revision 1.48
    diff -u -r1.48 trevord.tst
     
    399399#? [B18] 
    400400 
    401401 
     402# See also owl1:390-392. 
    402403loadsgf games/trevor/auto/d32.sgf 240 
    403404790 reg_genmove white 
    404405#? [P14]