Closed Naktibalda closed 10 years ago
Currently BettingRound.hasEnded returns true after action of small blind.
There are some tests for TurnSpec
describe("hasEnded") { it("should return false after limping of small blind") { table = table.place(dealer.call).place(smallBlind.call) table.currentRound.get.hasEnded should equal(false) } it("should return true when big blind ends preflop round") { table = table.place(dealer.call).place(smallBlind.call).place(bigBlind.check) table.currentRound.get.hasEnded should equal(true) } }
Done
Currently BettingRound.hasEnded returns true after action of small blind.
There are some tests for TurnSpec