(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestHeatmapPrinter_WithData(t *testing.T) { |
| 100 | proxyToDevNull() |
| 101 | d := [][]float32{ |
| 102 | {-1, -0.9, -0.8, -0.7, -0.6}, |
| 103 | {-1, -0.9, -0.8, -0.7, -0.6}, |
| 104 | } |
| 105 | |
| 106 | h := pterm.HeatmapPrinter{} |
| 107 | h2 := h.WithData(d) |
| 108 | |
| 109 | testza.AssertEqualValues(t, d, h2.Data) |
| 110 | } |
| 111 | |
| 112 | func TestHeatmapPrinter_WithBoxed(t *testing.T) { |
| 113 | h := pterm.HeatmapPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…