mirror of
https://github.com/Stone-Red-Code/se-poker.git
synced 2026-09-04 00:56:18 +02:00
7 lines
994 B
Plaintext
7 lines
994 B
Plaintext
please refactor this into multiple files
|
|
refactor this go program to use two classes Card, Hand and two use pointer receivers
|
|
Create a go test file hand_test.go to test the Hand struct according to go conventions. The tests must cover:
|
|
Correct evaluation of different hand values.
|
|
Comparison logic between two different hands.
|
|
The 'best hand' selection logic from 7 cards. After writing the tests, provide the command to run these tests and
|
|
generate a test report including code coverage." |