mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-17 00:07:49 +02:00
12 lines
172 B
Go
12 lines
172 B
Go
package array
|
|
|
|
import (
|
|
"testing"
|
|
|
|
M "github.com/IBM/fp-go/monoid/testing"
|
|
)
|
|
|
|
func TestMonoid(t *testing.T) {
|
|
M.AssertLaws(t, Monoid[int]())([][]int{{}, {1}, {1, 2}})
|
|
}
|