This website collects cookies to deliver better user experience
sample
go mod init sample
length.go
Length
_test
.test.js
length_test.go
go test
PASS ok sample 0.429s
expected
5
--- FAIL: Test (0.00s) length_test.go:10: Expected 5 Got 4 FAIL exit status 1 FAIL sample 0.334s
input
test.each
Test_Length
testCases
PASS ok sample 0.347s
21
0