package slices import ( "fmt" "testing" ) func TestReduce(t *testing.T) { s := Of(1, 2, 3) fmt.Println(Reduce(s, SumReducer[int])) }