refactor: rename dirctory

This commit is contained in:
VicRen
2020-10-21 09:25:45 +08:00
parent 8dfafee7ca
commit 932336046a
2 changed files with 0 additions and 0 deletions
@@ -0,0 +1,31 @@
package main
import "testing"
func TestIsDivisibleFor1to20(t *testing.T) {
tt := []struct {
name string
input int
want bool
}{
{
"20",
20,
false,
},
{
"14",
14,
false,
},
}
for _, tc := range tt {
t.Run(tc.name, func(t *testing.T) {
got := IsDivisibleFor1to20(tc.input)
if got != tc.want {
t.Errorf("IsDivisibleFor1to20(%d)=%v, want %v", tc.input, got, tc.want)
}
})
}
}