pokercore/misc/generateTestSuite.go

19 lines
274 B
Go
Raw Normal View History

2019-03-23 09:57:58 +00:00
package main
import (
"fmt"
"git.eeqj.de/sneak/pokercore"
)
2019-03-23 09:57:58 +00:00
func main() {
myDeck := pokercore.NewDeck()
myDeck.ShuffleRandomly()
a := myDeck.Deal(5)
b := myDeck.Deal(7)
a.PrintToTerminal()
fmt.Printf("\n%#v\n", a)
b.PrintToTerminal()
fmt.Printf("\n%#v\n", b)
2019-03-23 09:57:58 +00:00
}