Skip to content

Commit 20a085e

Browse files
committed
Drop 8 and 9 card testing cases
1 parent 1bc79a2 commit 20a085e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

python/tests/table_tests/test_dptables.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TestSuitsTable(unittest.TestCase):
1616

1717
@classmethod
1818
def setUpClass(cls) -> None:
19-
for k in [5, 6, 7, 8, 9]:
19+
for k in [5, 6, 7]:
2020
cls.update_k(cls.DP, k)
2121

2222
@staticmethod
@@ -33,14 +33,6 @@ def update_k(table: list[int], k: int) -> None:
3333
0x1 * cnts[0] + 0x8 * cnts[1] + 0x40 * cnts[2] + 0x200 * cnts[3]
3434
)
3535

36-
# TODO(@ohwi): Check these cases:
37-
# https://github.com/HenryRLee/PokerHandEvaluator/issues/93
38-
# There exist three cases that idxes are same.
39-
# For two different cnts in case of k=9.
40-
# The cases are 72, 520, 576.
41-
if idx in [72, 520, 576] and SUITS[idx] != suit + 1:
42-
continue
43-
4436
table[idx] = suit + 1
4537

4638
def test_suits_table(self) -> None:

0 commit comments

Comments
 (0)