github.com/sandwich-go/boost@v1.3.29/z/rand_test.go (about)

     1  package z
     2  
     3  import (
     4  	. "github.com/smartystreets/goconvey/convey"
     5  	"testing"
     6  )
     7  
     8  func TestRand(t *testing.T) {
     9  	Convey("rand", t, func() {
    10  		So(FastRand(), ShouldNotEqual, FastRand())
    11  		So(FastRandUint32n(100), ShouldBeLessThan, 100)
    12  	})
    13  }