mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 02:26:42 +00:00
Add tests to verify default worker behavior in ParallelMap and ParallelFilter. Add internal test to cover unexported Result marker methods for coverage.
12 lines
217 B
Go
12 lines
217 B
Go
package underscore
|
|
|
|
import "testing"
|
|
|
|
// Ensure the unexported marker methods are executed for coverage.
|
|
func TestResultIsResultMarker(t *testing.T) {
|
|
var ok Ok[int]
|
|
ok.isResult()
|
|
|
|
var er Err[int]
|
|
er.isResult()
|
|
}
|