// TestUint64ForNonUniqueIdOnSameProcessAndServer tests Uint64() serially for any duplicate ids generated
// using same serverID.
TestUint64ForNonUniqueIdOnSameProcessAndServer tests Uint64() serially for any duplicate ids generated
using same serverID.
// TestUint64ForNonUniqueIdOnSameProcessAndServer tests Uint64 () serially for any duplicate ids generated // using same serverID .
func TestUint64ForNonUniqueIdsOnSameProcessAndServer(t *testing.T) {
	t.Parallel()
	var ids []uint64
	for c := 0; c < 100_000; c++ {
		id := Uint64(1, 0, &DefaultUint64Config)
		for _, v := range ids {
			if v == id {
				t.Error("Duplicate Id found id:", id)
			}
		}
		ids = append(ids, id)
	}
}
func TestUint64ForNonUniqueIdsOnSameProcessAndServer ( t * testing . T ) { t . Parallel ( ) var ids [ ] uint64 for c := 0 ; c < 100_000 ; c ++ { id := Uint64 ( 1 , 0 , & DefaultUint64Config ) for _ , v := range ids { if v == id { t . Error ( " " , id ) } } ids = append ( ids , id ) } }
TestUint64ForNonUniqueIdOnSameProcessAndServer tests Uint64() serially for any duplicate ids generated
using same serverID.
TestUint64ForNonUniqueIdOnSameProcessAndServer tests Uint64 () serially for any duplicate ids generated using same serverID .