gitlab.com/beacon-software/gadget@v0.0.0-20181217202115-54565ea1ed5e/generator/bytes_test.go (about)

     1  package generator
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestBytes(t *testing.T) {
    10  	assert := assert.New(t)
    11  	b1 := Bytes(10)
    12  	b2 := Bytes(10)
    13  	assert.NotEqual(b1, b2)
    14  }