pwyq / Fill-Game

Two Player (Adversarial) Version of Fillomino | (Depth-First) Proof Number Search, Monte Carlo Tree Search, Minimax, Negamax, Alpha-beta pruning
GNU General Public License v3.0
2 stars 0 forks source link

Parsing or Gtest bug? #65

Closed pwyq closed 1 year ago

pwyq commented 1 year ago

Weird bug

This function parse gtest name to integer index, e.g. SIMPLE_16 becomes 16. https://github.com/pwyq/Fill-Game/blob/a2ac85ff7aa1b29ca2d2fcae080a15afc942ac2b/test/algorithm_test_cases.h#L34

Not working for the following:

https://github.com/pwyq/Fill-Game/blob/a2ac85ff7aa1b29ca2d2fcae080a15afc942ac2b/test/minimax_alphabeta_tt_test.h#L176

https://github.com/pwyq/Fill-Game/blob/a2ac85ff7aa1b29ca2d2fcae080a15afc942ac2b/test/minimax_alphabeta_tt_test.h#L194

https://github.com/pwyq/Fill-Game/blob/a2ac85ff7aa1b29ca2d2fcae080a15afc942ac2b/test/negamax_alphabeta_tt_test.h#L175

https://github.com/pwyq/Fill-Game/blob/a2ac85ff7aa1b29ca2d2fcae080a15afc942ac2b/test/negamax_alphabeta_tt_test.h#L191

Samarium150 commented 1 year ago

Mine work fine. image