(t *testing.T)
| 148 | } |
| 149 | |
| 150 | func TestLogViewer_SetSize(t *testing.T) { |
| 151 | lv := NewLogViewer() |
| 152 | lv.SetSize(100, 50) |
| 153 | |
| 154 | if lv.width != 100 { |
| 155 | t.Errorf("Expected width 100, got %d", lv.width) |
| 156 | } |
| 157 | if lv.height != 50 { |
| 158 | t.Errorf("Expected height 50, got %d", lv.height) |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | func TestLogViewer_IsAutoScrolling(t *testing.T) { |
| 163 | lv := NewLogViewer() |
nothing calls this directly
no test coverage detected