Apply .gitignore rules

This commit is contained in:
皮蛋13361098506
2025-01-06 16:21:36 +08:00
parent 1b77f62820
commit ccd2c530cf
580 changed files with 69806 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package stringUtil
import (
"testing"
)
func Test1(t *testing.T) {
s := HashCode("abc")
s1 := HashCode("abc")
if s != s1 {
t.Errorf("s1 hashcode:%v,s2 hashcode:%v,2个code值不相等", s, s1)
}
}
func Test2(t *testing.T) {
s := HashCode("abc")
s1 := HashCode("bcd")
if s == s1 {
t.Errorf("s1 hashcode:%v,s2 hashcode:%v,2个code值相等", s, s1)
}
}