1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-06-23 00:27:49 +02:00
Files
fp-go/number/monoid_test.go

12 lines
176 B
Go
Raw Normal View History

package number
import (
"testing"
M "github.com/ibm/fp-go/monoid/testing"
)
func TestMonoidSum(t *testing.T) {
M.AssertLaws(t, MonoidSum[int]())([]int{0, 1, 1000, -1})
}