def test_validator_8(): assert uk_postal_code_validator('') == "N"
def test_validator_9(): # spaces assert uk_postal_code_validator(' ') == "N"
def test_validator_6(): assert uk_postal_code_validator('ABC DEF') == "N"
def test_validator_7(): assert uk_postal_code_validator('GU16 7HF') == "Y"
def test_validator_5(): assert uk_postal_code_validator('L1 8JQ') == "Y"
def test_validator_4(): assert uk_postal_code_validator('ASCN 1ZZ') == "Y"
def test_validator_3(): assert uk_postal_code_validator('sw1w 0ny') == "N"
def test_validator_2(): assert uk_postal_code_validator('SW1W 0NY') == "Y"
def test_validator_1(): assert uk_postal_code_validator('DUMMY') == "N"