Ejemplo n.º 1
0
def test_tablero_vacio_esta_vacio():
    tablero = tableroVacio()

    tablero1 = [
        [0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0],
        [0, 0, 0, 0, 0, 0, 0],
    ]

    assert tablero == tablero1
Ejemplo n.º 2
0
def test_tablero_vacio_tiene_7_columnas():
    tablero = tableroVacio()

    assert len(tablero[0]) == 7
Ejemplo n.º 3
0
def test_tablero_vacio_tiene_6_filas():
    tablero = tableroVacio()

    assert len(tablero) == 6  #chequea
Ejemplo n.º 4
0
def test_tablero_vacio_esta_vacio():
    tablero = tableroVacio()
    for i in range(6):
        assert tablero[i] == [0, 0, 0, 0, 0, 0, 0]
Ejemplo n.º 5
0
def test_tablero_vacio_tiene_6_filas_y_7_columnas():
	tablero = tableroVacio()

	assert len(tablero) == 6