Skip to content

Commit

Permalink
Fix tests for new hist debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
lightvector committed Aug 5, 2023
1 parent 5433234 commit ef4b9ae
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cpp/tests/testrules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2357,6 +2357,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 1
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2376,6 +2377,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 1
Turns this phase 1
Approx valid turns this phase 1
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2395,6 +2397,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 2
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2414,6 +2417,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 2
Turns this phase 1
Approx valid turns this phase 1
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2433,6 +2437,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 2
Turns this phase 2
Approx valid turns this phase 2
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2455,6 +2460,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 0
Turns this phase 2
Approx valid turns this phase 1
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2474,6 +2480,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 0
Turns this phase 3
Approx valid turns this phase 1
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand All @@ -2493,6 +2500,7 @@ HASH: 75819B78E08D44EFCA4C3CBC9D277E29
Initial pla Black
Encore phase 0
Turns this phase 4
Approx valid turns this phase 1
Rules koPOSITIONALscoreTERRITORYtaxNONEsui0komi0.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand Down Expand Up @@ -3439,6 +3447,7 @@ HASH: EB867913318513FD9DE98EDE86AE8CE0
Initial pla Black
Encore phase 2
Turns this phase 14
Approx valid turns this phase 14
Rules koSIMPLEscoreTERRITORYtaxSEKIsui1komi7.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 1
Expand Down Expand Up @@ -3771,6 +3780,7 @@ HASH: 6CC6F6B94B2F52DED5CA2B28C2D58357
Initial pla White
Encore phase 1
Turns this phase 5
Approx valid turns this phase 5
Rules koSITUATIONALscoreTERRITORYtaxNONEsui0komi6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score -1
Expand Down Expand Up @@ -3884,6 +3894,7 @@ HASH: FDD9D2ACBB4B3A6466BD37C59487F4F7
Initial pla White
Encore phase 1
Turns this phase 5
Approx valid turns this phase 5
Rules koSITUATIONALscoreTERRITORYtaxNONEsui0komi6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score -2
Expand Down Expand Up @@ -4214,6 +4225,7 @@ HASH: 5082A5AA1512BAD190D4C8951B76C472
Initial pla Black
Encore phase 1
Turns this phase 6
Approx valid turns this phase 6
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash 6785AE217D0AAA7AD4FA074F6C3B370B
White bonus score 3
Expand Down Expand Up @@ -4551,6 +4563,7 @@ HASH: F0D2D61BE0FABC60F06563748284EA95
Initial pla Black
Encore phase 1
Turns this phase 14
Approx valid turns this phase 14
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash B442956CD0B349EA467256E307990942
White bonus score 4
Expand Down Expand Up @@ -4687,6 +4700,7 @@ HASH: 7E612069F9D69EAEEEAADC4E30CF728B
Initial pla Black
Encore phase 2
Turns this phase 5
Approx valid turns this phase 5
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash B8D94C36535B1329F3E635C5794FEEA9
White bonus score 4
Expand Down Expand Up @@ -4912,6 +4926,7 @@ HASH: 677629FFD07EEF1B0E2EA53AD5DC28BC
Initial pla Black
Encore phase 1
Turns this phase 9
Approx valid turns this phase 9
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash 6DF578E5C17193F2108E72E5D4BA22A5
White bonus score 6
Expand Down Expand Up @@ -5042,6 +5057,7 @@ HASH: 5082A5AA1512BAD190D4C8951B76C472
Initial pla Black
Encore phase 2
Turns this phase 4
Approx valid turns this phase 4
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 4
Expand Down Expand Up @@ -5172,6 +5188,7 @@ HASH: C5436F2F449C44F2032BE90BF82BCFC6
Initial pla Black
Encore phase 2
Turns this phase 4
Approx valid turns this phase 4
Rules koSIMPLEscoreTERRITORYtaxALLsui1komi6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 4
Expand Down
18 changes: 18 additions & 0 deletions cpp/tests/testsgf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ HASH: 0483785A1D3D994549631CC1DE3E1CCE
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -157,6 +158,7 @@ HASH: D2679AE98871290D03776F89C5C34607
Initial pla White
Encore phase 0
Turns this phase 7
Approx valid turns this phase 7
Rules koPOSITIONALscoreAREAtaxNONEsui1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -221,6 +223,7 @@ HASH: 0483785A1D3D994549631CC1DE3E1CCE
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koSIMPLEscoreTERRITORYtaxSEKIsui0komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 4
Expand Down Expand Up @@ -258,6 +261,7 @@ HASH: D2679AE98871290D03776F89C5C34607
Initial pla White
Encore phase 1
Turns this phase 0
Approx valid turns this phase 0
Rules koSIMPLEscoreTERRITORYtaxSEKIsui0komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 3
Expand Down Expand Up @@ -322,6 +326,7 @@ HASH: 0483785A1D3D994549631CC1DE3E1CCE
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koSIMPLEscoreAREAtaxNONEsui0whbNfpok1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -359,6 +364,7 @@ HASH: D2679AE98871290D03776F89C5C34607
Initial pla White
Encore phase 0
Turns this phase 7
Approx valid turns this phase 7
Rules koSIMPLEscoreAREAtaxNONEsui0whbNfpok1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -423,6 +429,7 @@ HASH: 0483785A1D3D994549631CC1DE3E1CCE
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koSITUATIONALscoreAREAtaxNONEsui0whbN-1fpok1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -460,6 +467,7 @@ HASH: D2679AE98871290D03776F89C5C34607
Initial pla White
Encore phase 0
Turns this phase 7
Approx valid turns this phase 7
Rules koSITUATIONALscoreAREAtaxNONEsui0whbN-1fpok1komi5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -501,6 +509,7 @@ HASH: 07791CF7FCA8A7E67538A413A98483AB
Initial pla Black
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi-6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand All @@ -522,6 +531,7 @@ HASH: 52376CECFC43AC1A05655FF3DAF26336
Initial pla Black
Encore phase 0
Turns this phase 3
Approx valid turns this phase 3
Rules koPOSITIONALscoreAREAtaxNONEsui1komi-6.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -583,6 +593,7 @@ HASH: AB9059CC6FB63D2E54306382320C0E8D
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi7.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -610,6 +621,7 @@ HASH: AB9059CC6FB63D2E54306382320C0E8D
Initial pla White
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi7.5
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -671,6 +683,7 @@ HASH: FBE16917FFBF22C1CD6D3A1EEB1FC363
Initial pla Black
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi24
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand All @@ -694,6 +707,7 @@ HASH: F319D79992F6E6C1ABF52DB6631D470B
Initial pla Black
Encore phase 0
Turns this phase 7
Approx valid turns this phase 7
Rules koPOSITIONALscoreAREAtaxNONEsui1komi24
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -763,6 +777,7 @@ HASH: FBE16917FFBF22C1CD6D3A1EEB1FC363
Initial pla Black
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koPOSITIONALscoreAREAtaxNONEsui1komi24
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand All @@ -786,6 +801,7 @@ HASH: F319D79992F6E6C1ABF52DB6631D470B
Initial pla Black
Encore phase 0
Turns this phase 7
Approx valid turns this phase 7
Rules koPOSITIONALscoreAREAtaxNONEsui1komi24
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -880,6 +896,7 @@ HASH: 09D2EA49BF2F78E5B210AEA0C9838C85
Initial pla Black
Encore phase 0
Turns this phase 0
Approx valid turns this phase 0
Rules koSIMPLEscoreAREAtaxNONEsui0whbNkomi0
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down Expand Up @@ -935,6 +952,7 @@ HASH: BEECF0ED5AC11C8DBA6C50AAF871843D
Initial pla Black
Encore phase 0
Turns this phase 13
Approx valid turns this phase 13
Rules koSIMPLEscoreAREAtaxNONEsui0whbNkomi0
Ko recap block hash 00000000000000000000000000000000
White bonus score 0
Expand Down

0 comments on commit ef4b9ae

Please sign in to comment.