go-poker/hand_test.go

18 lines
303 B
Go
Raw Normal View History

2019-12-23 06:06:24 +00:00
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)
}
}