You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
257 B
Go

package collections_test
import (
"testing"
"github.com/RageCage64/collections-go"
"github.com/RageCage64/go-assert"
)
func TestSliceContainsDirect(t *testing.T) {
x := []int{1, 2, 3}
assert.Assert(t, collections.SliceContains(x, 1), "it didn't")
}