(t *testing.T, metrics map[string]float64, name string, want float64)
| 192 | } |
| 193 | |
| 194 | func assertProcessMetric(t *testing.T, metrics map[string]float64, name string, want float64) { |
| 195 | t.Helper() |
| 196 | if got := metrics[name]; got != want { |
| 197 | t.Fatalf("process metric %s=%v want %v in %#v", name, got, want, metrics) |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | func containsBenchmarkDelta(records []benchmark.MetricDelta, plugin string, metric string, delta float64) bool { |
| 202 | for _, record := range records { |
no outgoing calls
no test coverage detected