fix unit test

db4
Doug Coleman 2009-12-08 17:05:11 -06:00
parent 0d75418048
commit 5c9ce929c7
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
USING: accessors kernel math.order poker poker.private tools.test ;
USING: accessors kernel math math.order poker poker.private
tools.test ;
IN: poker.tests
[ 134236965 ] [ "KD" >ckf ] unit-test

View File

@ -260,5 +260,8 @@ ERROR: bad-suit-symbol ch ;
: value>hand-name ( value -- string )
value>rank VALUE_STR nth ;
: string>hand-name ( string -- string' )
string>value value>hand-name ;
SYNTAX: HAND{
"}" parse-tokens [ card> ] { } map-as suffix! ;