(t *testing.T)
| 99 | } |
| 100 | |
| 101 | func TestDiscreteStats_RepeatedValues(t *testing.T) { |
| 102 | ds := &DiscreteStats{} |
| 103 | data := []string{"X", "X", "X", "X", "X"} |
| 104 | |
| 105 | ds.summary(data) |
| 106 | |
| 107 | summaryData := ds.getSummaryData() |
| 108 | if len(summaryData) == 0 { |
| 109 | t.Error("Should handle repeated values") |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | // ======================================== |
| 114 | // Stats Interface Tests |
nothing calls this directly
no test coverage detected