======================================== Additional Buffer Tests for Coverage ========================================
(t *testing.T)
| 353 | // ======================================== |
| 354 | |
| 355 | func TestBuffer_LargeDataset(t *testing.T) { |
| 356 | b := createNewBuffer() |
| 357 | |
| 358 | // Add header |
| 359 | _ = b.contAppendSli([]string{"ID", "Name", "Value"}, false) |
| 360 | |
| 361 | // Add many rows |
| 362 | for i := 0; i < 1000; i++ { |
| 363 | _ = b.contAppendSli([]string{I2S(i), "Name" + I2S(i), I2S(i * 10)}, false) |
| 364 | } |
| 365 | |
| 366 | if b.rowLen != 1001 { |
| 367 | t.Errorf("Expected 1001 rows, got %d", b.rowLen) |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | func TestBuffer_SetAndGetColType(t *testing.T) { |
| 372 | b := createNewBuffer() |
nothing calls this directly
no test coverage detected