Testing Card Rank – Design of Computer Programs

Testing Card Rank – Design of Computer Programs


[Norvig] So let’s go through the helper functions 1 by 1, but first let’s go back to tests and add some tests. Let’s work on the card_ranks function first. And what I want you to do is add tests for each of the 3 cards that we’ve specified here to say what the card ranks should be.

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2019 Geted Tabs Online. All rights reserved.