<commit_before>package game

import (
	"github.com/hughgrigg/blackjack/cards"
	"github.com/stretchr/testify/assert"
	"testing"
	"time"
)

func TestBoard_Begin(t *testing.T) {
	board := Board{}
	board.Begin(0)
	time.Sleep(1 * time.Millisecond) // let actions clear
	assert.NotEmpty(t, board.Deck.Cards)
	assert.NotEmpty(t, board.Dealer.Render())
	assert.NotEmpty(t, board.Player.Render())
}

func TestDealer_Render(t *testing.T) {
	dealer := Dealer{&cards.Hand{}}
	dealer.hand.Hit(cards.NewCard(cards.Ace, cards.Spades))
	assert.Equal(t, "A♤", dealer.Render())
}<commit_msg>Fix TestBoard_Begin<commit_after>package game

import (
	"testing"
	"time"

	"github.com/hughgrigg/blackjack/cards"
	"github.com/stretchr/testify/assert"
)

func TestBoard_Begin(t *testing.T) {
	board := Board{}
	board.Begin(0)
	time.Sleep(10 * time.Millisecond) // let actions clear
	assert.NotEmpty(t, board.Deck.Cards)
	assert.NotEmpty(t, board.Dealer.Render())
}

func TestDealer_Render(t *testing.T) {
	dealer := Dealer{&cards.Hand{}}
	dealer.hand.Hit(cards.NewCard(cards.Ace, cards.Spades))
	assert.Equal(t, "A♤", dealer.Render())
}
{'fraction_non_alphanumeric': 0.1692169216921692, 'fraction_numerical': 0.004500450045004501, 'mean_word_length': 5.212290502793296, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4964583', 'n_tokens_mistral': 450, 'n_tokens_neox': 444, 'n_words': 67}