(t *testing.T)
| 138 | } |
| 139 | |
| 140 | func TestGenerateUUID(t *testing.T) { |
| 141 | // Consistent output for same input |
| 142 | id1 := utils.GenerateUUID("teststring") |
| 143 | id2 := utils.GenerateUUID("teststring") |
| 144 | assert.Equal(t, id1, id2) |
| 145 | |
| 146 | // Different output for different input |
| 147 | id3 := utils.GenerateUUID("differentstring") |
| 148 | assert.Assert(t, id1 != id3) |
| 149 | } |
nothing calls this directly
no test coverage detected