(t *testing.T)
| 184 | } |
| 185 | |
| 186 | func TestContinuousStats_GetPlot_EmptyData(t *testing.T) { |
| 187 | cs := &ContinuousStats{} |
| 188 | data := []string{} |
| 189 | |
| 190 | cs.summary(data) |
| 191 | plot := cs.getPlot() |
| 192 | |
| 193 | if plot != "No data to plot" { |
| 194 | t.Errorf("Expected 'No data to plot', got: %s", plot) |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | func TestContinuousStats_GetPlot_IdenticalValues(t *testing.T) { |
| 199 | cs := &ContinuousStats{} |