import nose.tools
from source.game_board import * 



def test_game_board_returns_a_2Dlist():
    board = Game_Board()
    board_right_now = getattr(board, 'current_board')
    test = all(isinstance(row, list) for row in board_right_now)
    assert test ==  True

def test_game_board_initial_state():
    board = Game_Board()
    test = getattr(board, 'current_board')
    expected = [[0,0,0],[0,0,0],[0,0,0]]
    assert test == expected

@@ -431,8 +431,192 @@
 xpected%0A
+%0Adef test_game_board_can_be_changed():%0A    board = Game_Board()%0A    expected = %5B%5B0,0,1%5D,%5B0,0,0%5D,%5B0,0,0%5D%5D%0A    board.current_board = expected%0A    assert board.current_board == expected %0A

test current_board can be changed resolves #2