18 lines
303 B
Go
18 lines
303 B
Go
package poker
|
|
|
|
//import "github.com/stretchr/testify/assert"
|
|
import "fmt"
|
|
import "testing"
|
|
|
|
func TestPokerHand(t *testing.T) {
|
|
|
|
var v int64
|
|
for {
|
|
v = int64(cryptoUint64())
|
|
d := NewDeckFromSeed(v)
|
|
holeCards := d.Deal(2)
|
|
commCards := d.Deal(5)
|
|
fmt.Printf("%s %s\n", holeCards, commCards)
|
|
}
|
|
}
|