mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Add another test
This commit is contained in:
parent
d068f93d16
commit
c407010801
1 changed files with 7 additions and 1 deletions
|
@ -556,7 +556,7 @@ class Game:
|
||||||
|
|
||||||
def shlomif_main(args):
|
def shlomif_main(args):
|
||||||
|
|
||||||
plan(6)
|
plan(7)
|
||||||
|
|
||||||
rand = constructRandom('24')
|
rand = constructRandom('24')
|
||||||
game = Game("freecell", rand, True)
|
game = Game("freecell", rand, True)
|
||||||
|
@ -644,5 +644,11 @@ QH 9H 9D 5S 7S 6C
|
||||||
# TEST
|
# TEST
|
||||||
ok (got == inp, 'long2str ms roundtrip.')
|
ok (got == inp, 'long2str ms roundtrip.')
|
||||||
|
|
||||||
|
inp = '246007891097'
|
||||||
|
got = random__long2str(random__str2long(inp))
|
||||||
|
|
||||||
|
# TEST
|
||||||
|
ok (got == inp, 'long2str PySolFC roundtrip.')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.exit(shlomif_main(sys.argv))
|
sys.exit(shlomif_main(sys.argv))
|
||||||
|
|
Loading…
Add table
Reference in a new issue