aboutsummaryrefslogtreecommitdiff
path: root/tests/library/ssn.test.py
blob: a93f0c6fe31438f138bda5deb008c2c6fea88672 (plain)
1
2
3
4
5
6
7
8
9
10
11
from edify.library import ssn


def test_ssn():
    ssns = {
        "000-22-3333": False,
        "100-22-3333": True,
        "": False,
    }
    for s_s_n, expected in ssns.items():
        assert ssn(s_s_n) == expected