<commit_before>import nose.tools
from source.game_table import * 

def test_that_board_returns_a_list():
    table_top = TableTop()
    test = isinstance(table_top.board, list)
    assert test ==  True

def test_the_boards_initial_state():
    table_top = TableTop()
    expected = [0,0,0,0,0,0,0,0,0]
    assert table_top.board == expected

def test_that_board_can_be_changed():
    table_top = TableTop()
    expected = [0,0,1,0,0,0,0,0,0]
    table_top.board = expected
    assert table_top.board == expected 
<commit_msg>test that game_table can tell its own board size<commit_after>import nose.tools
from source.game_table import * 

def test_that_board_returns_a_list():
    table_top = TableTop()
    test = isinstance(table_top.board, list)
    assert test ==  True

def test_the_boards_initial_state():
    table_top = TableTop()
    expected = [0,0,0,0,0,0,0,0,0]
    assert table_top.board == expected

def test_that_board_can_be_changed():
    table_top = TableTop()
    expected = [0,0,1,0,0,0,0,0,0]
    table_top.board = expected
    assert table_top.board == expected 

def test_that_table_top_knows_the_size_of_its_board():
    tabletop = TableTop()
    assert tabletop.get_board_size() == 3

{'fraction_non_alphanumeric': 0.11000827129859388, 'fraction_numerical': 0.030603804797353185, 'mean_word_length': 4.401785714285714, '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': '5969423', 'n_tokens_mistral': 438, 'n_tokens_neox': 433, 'n_words': 85}