def error_test(n, n_exp):
    """Tests the number of cells that produced an error.

    Parameters
    ----------
    n: int of number of cells that that did not produce an error
    n_exp: int of number of cell that are checked if producing an error

    Returns
    -------
    print statement of test results
    """
    if n == n_exp:
        print('ERRORS TEST: PASSED!')
    else:
        print('ERRORS TEST: FAILED!', n, 'of', n_exp,
            'Cells ran without errors')
