Skip to content

Commit c5a9c0f

Browse files
committed
Added a couple more test cases
1 parent 578c85e commit c5a9c0f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

leetcode/0202.Happy-Number/202. Happy Number_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ func Test_Problem202(t *testing.T) {
3535
para202{19},
3636
ans202{true},
3737
},
38+
39+
{
40+
para202{2},
41+
ans202{false},
42+
},
43+
44+
{
45+
para202{3},
46+
ans202{false},
47+
},
3848
}
3949

4050
fmt.Printf("------------------------Leetcode Problem 202------------------------\n")

0 commit comments

Comments
 (0)