======================================== Continuous Stats Tests ========================================
(t *testing.T)
| 9 | // ======================================== |
| 10 | |
| 11 | func TestContinuousStats_Summary(t *testing.T) { |
| 12 | cs := &ContinuousStats{} |
| 13 | data := []string{"10.5", "20.3", "15.7", "25.2", "18.9"} |
| 14 | |
| 15 | cs.summary(data) |
| 16 | |
| 17 | // Verify data was processed |
| 18 | summaryData := cs.getSummaryData() |
| 19 | if len(summaryData) == 0 { |
| 20 | t.Error("Expected summary data, got empty") |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | func TestContinuousStats_EmptyData(t *testing.T) { |
| 25 | cs := &ContinuousStats{} |
nothing calls this directly
no test coverage detected