github.com/haraldrudell/parl@v0.4.176/g0/go-entity-id_test.go (about)

     1  /*
     2  © 2022–present Harald Rudell <harald.rudell@gmail.com> (https://haraldrudell.github.io/haraldrudell/)
     3  ISC License
     4  */
     5  
     6  package g0
     7  
     8  import "testing"
     9  
    10  func Test_initG1ID(t *testing.T) {
    11  	var id goEntityID
    12  	id = *newGoEntityID()
    13  	if id.id == 0 {
    14  		t.Error("id 0")
    15  	}
    16  }