Problem 128 Recognize Playing Cards is broken!

44 views
Skip to first unread message

Edward Kimber

unread,
Apr 29, 2012, 9:02:13 AM4/29/12
to 4clo...@googlegroups.com
The rank on this test should be 5 not 3:

(= {:suit :heart :rank 3} (__ "H5"))

David Byrne

unread,
Apr 29, 2012, 10:58:40 AM4/29/12
to 4clo...@googlegroups.com
From the problem: "we will define the cards to be valued from 0 (the two) to 12 (the ace)"

so this means that "H5" is of rank 3.
Reply all
Reply to author
Forward
0 new messages