(t *testing.T)
| 179 | } |
| 180 | |
| 181 | func TestTimeBetween(t *testing.T) { |
| 182 | hours := timeBetween("2026-05-12T00:00:00Z", "2026-05-12T02:30:00Z") |
| 183 | assert.InDelta(t, 2.5, hours, 0.01, "2.5 hours between timestamps") |
| 184 | |
| 185 | assert.InDelta(t, 0.0, timeBetween("bad", "2026-05-12T00:00:00Z"), 1e-12, "bad from timestamp") |
| 186 | assert.InDelta(t, 0.0, timeBetween("2026-05-12T00:00:00Z", "bad"), 1e-12, "bad to timestamp") |
| 187 | } |
| 188 | |
| 189 | func TestEvaluateOutcomesSkipsNoopAndMetadata(t *testing.T) { |
| 190 | items := []CreatedItemReport{ |
nothing calls this directly
no test coverage detected