unit test

This commit is contained in:
李斌
2023-03-26 16:01:35 +08:00
parent 3afcc88a9a
commit e436397995
16 changed files with 430 additions and 152 deletions

View File

@@ -44,6 +44,7 @@ func TestToFloat64(t *testing.T) {
{true, 1, nil},
{false, 0, nil},
{(*bool)(nil), 0, nil},
{make(chan int), 0, go_easy_utils.ErrType},
}
for _, tc := range testCases {