예제 #1
0
def test_may_a_der():
    mi_carton = carton_oficial()
    assert may_a_der(mi_carton) == True
예제 #2
0
def test_may_arriba_abajo():
    mi_carton = carton_oficial()
    assert may_arriba_abajo(mi_carton) == True
예제 #3
0
def test_cinco_por_fila():
    mi_carton = carton_oficial()
    assert cinco_por_fila(mi_carton) == True
예제 #4
0
def test_no_numeros_repetidos():
    mi_carton=carton_oficial()
    assert no_numeros_repetidos(mi_carton) == True
예제 #5
0
def test_no_tres_vacias():
    mi_carton = carton_oficial()
    assert no_tres_vacias(mi_carton) == True
예제 #6
0
def test_celdas():
    mi_carton = carton_oficial()
    assert contar_celdas_ocupadas_mayores(
        mi_carton) == True and contar_celdas_ocupadas_menores(
            mi_carton) == True and columnas_con_contenido(
                mi_carton) == True and filas_con_contenido(mi_carton) == True
예제 #7
0
def test_no_columna_llena():
    mi_carton = carton_oficial()
    assert no_columna_llena(mi_carton) == True
예제 #8
0
def test_uno_a_noventa():
    assert uno_a_noventa(carton_oficial()) == True
예제 #9
0
def test_izq_may_der():
    mi_carton=carton_oficial()
    assert izq_may_der(mi_carton) == True