[CSC 330] Unit Testing
Andrew J. Pounds
pounds_aj at mercer.edu
Sun Sep 10 03:45:51 EDT 2023
Unit testing of you poker program is part of your responsibility in
completing the assignment. I tried to structure the format of the file
(which is explicitly described in the documentation) so that it would be
easily used across a myriad of programming languages.
I am getting requests for my test files. As stated, unit testing is
part of your job as a developer to make sure that your program is
working correctly. I provided you with one test file in the
documentation for the project. Here is one more and the resulting hand
ordering.
10H, JC, JH, 4C, 4S
9S, AS, 2C, 4D, 7C
5C, JS, 6C,10S,10C
AH, 2H, 3H, 4H, 5H
AC, KD, QH, JD,10D
8H, 8C, 8D, 3D, 3S
--- WINNING HAND ORDER ---
AH 2H 3H 4H 5H - Straight-Flush
8H 8C 8D 3D 3S - Full House
AC KD QH JD 10D - Straight
10H JC JH 4C 4S - Two Pair
5C JS 6C 10S 10C - Pair
9S AS 2C 4D 7C - High Card
--
*/Andrew J. Pounds, Ph.D./*
/Professor of Chemistry and Computer Science/
/Director of the Computational Science Program/
/Mercer University/
/1501 Mercer University Drive, Macon, GA 31207 /
/(478) 301-5627/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc330/attachments/20230910/5dd45779/attachment.html>
More information about the csc330
mailing list