mirror of
https://github.com/weloe/token-go.git
synced 2025-10-31 02:46:29 +08:00
Init gitignore,workflows
This commit is contained in:
14
first_test.go
Normal file
14
first_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package token_go
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestFirst(t *testing.T) {
|
||||
First()
|
||||
}
|
||||
|
||||
func BenchmarkFirst(b *testing.B) {
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
First()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user