コード例 #1
0
ファイル: test.py プロジェクト: jmhobbs/advent-of-code-2015
def test_has_naughty():
    assert False == has_no_naughty("abcdefg")
    assert False == has_no_naughty("acdefg")
    assert False == has_no_naughty("acepqfg")
    assert False == has_no_naughty("acepfgxy")
コード例 #2
0
ファイル: test.py プロジェクト: jmhobbs/advent-of-code-2015
def test_has_no_naughty():
    assert True == has_no_naughty("acefghpx")