Exemple #1
0
def test_2_false(sol: Solution, ):
    assert sol.is_happy(2) == False
Exemple #2
0
def test_2121_true(sol: Solution, ):
    assert sol.is_happy(2121) == True
Exemple #3
0
def test_19_true(sol: Solution, ):
    assert sol.is_happy(19) == True
Exemple #4
0
def test_111111_false(sol: Solution, ):
    assert sol.is_happy(111111) == False
Exemple #5
0
def test_476_false(sol: Solution, ):
    assert sol.is_happy(476) == False