diff --git a/tests/unit/hint.py b/tests/unit/hint.py index a854e90e..258f13ef 100644 --- a/tests/unit/hint.py +++ b/tests/unit/hint.py @@ -11,7 +11,7 @@ from pysollib.hint import Base_Solver_Hint def shlomif_main(args): - plan(1) + plan(2) card = AbstractCard(1001, 0, 3, 7, 3001) h = Base_Solver_Hint(None, None, base_rank=0) @@ -21,6 +21,11 @@ def shlomif_main(args): if not ok(got == 'D-8', 'card2str2 works'): diag('got == ' + got) + got = h.card2str1(card) + # TEST + if not ok(got == '8D', 'card2str1 works'): + diag('got == ' + got) + if __name__ == "__main__": sys.exit(shlomif_main(sys.argv))