import nose.tools
from source.player_chair import *

def test_that_player_can_make_a_move():
    philip = Player()
    mock_board = [[1,10,1],[10,0,0],[1,0,10]]
    test = philip.move(mock_board)
    assert test == [[1,10,1],[10,"spam",0],[1,0,10]]

def test_that_computer_player_can_make_a_move():
    spamBot9000 = Computer()
    mock_board = [[1,10,1],[0,10,0],[1,0,10]]
    test = spamBot9000.move(mock_board)
    assert test == [[1,10,1],[1,10,0],[1,0,10]]

@@ -129,36 +129,30 @@
 d = 
-%5B
 %5B1,10,1
-%5D,%5B
+,
 10,0,0
-%5D,%5B
+,
 1,0,10%5D
-%5D
 %0A   
@@ -202,27 +202,24 @@
 test == 
-%5B
 %5B1,10,1
-%5D,%5B
+,
 10,%22spam
@@ -221,27 +221,24 @@
 %22spam%22,0
-%5D,%5B
+,
 1,0,10%5D
-%5D
 %0A%0Adef te
@@ -330,36 +330,30 @@
 d = 
-%5B
 %5B1,10,1
-%5D,%5B
+,
 0,10,0
-%5D,%5B
+,
 1,0,10%5D
-%5D
 %0A   
@@ -412,33 +412,27 @@
  == 
-%5B
 %5B1,10,1
-%5D,%5B
+,
 1,10,0
-%5D,%5B
+,
 1,0,10%5D
-%5D
 %0A

change player tests to reflect game_table change