(ticks []Tick)
| 101 | } |
| 102 | |
| 103 | func labelsOf(ticks []Tick) []string { |
| 104 | var labels []string |
| 105 | for _, t := range ticks { |
| 106 | if t.Label != "" { |
| 107 | labels = append(labels, t.Label) |
| 108 | } |
| 109 | } |
| 110 | return labels |
| 111 | } |
| 112 | |
| 113 | func TestTickerFunc_Ticks(t *testing.T) { |
| 114 | type args struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…