(t *testing.T)
| 34 | } |
| 35 | |
| 36 | func TestContinuousStats_SingleValue(t *testing.T) { |
| 37 | cs := &ContinuousStats{} |
| 38 | data := []string{"42.0"} |
| 39 | |
| 40 | cs.summary(data) |
| 41 | |
| 42 | summaryData := cs.getSummaryData() |
| 43 | if len(summaryData) == 0 { |
| 44 | t.Error("Should handle single value") |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | func TestContinuousStats_WithNaN(t *testing.T) { |
| 49 | cs := &ContinuousStats{} |
nothing calls this directly
no test coverage detected