16 lines
280 B
Go
16 lines
280 B
Go
// Copyright Earl Warren <contact@earl-warren.org>
|
|
// Copyright Loïc Dachary <loic@dachary.org>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package util
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestRandSeq(t *testing.T) {
|
|
l := 23
|
|
assert.Len(t, RandSeq(l), l)
|
|
}
|