def test():
    assert (not is_prime(123))
    assert (not is_prime(132))
    assert (not is_prime(213))
    assert (not is_prime(231))
    assert (not is_prime(312))
    assert (not is_prime(321))
    assert is_prime(2143)
    assert is_pandigital(2143)
    assert (2143 in set(pandigital_primes(digits=4)))
def test():
    assert (not is_prime(123))
    assert (not is_prime(132))
    assert (not is_prime(213))
    assert (not is_prime(231))
    assert (not is_prime(312))
    assert (not is_prime(321))
    assert is_prime(2143)
    assert is_pandigital(2143)
    assert (2143 in set(pandigital_primes(digits=4)))