(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestLoadFileToBuffer_NumericData(t *testing.T) { |
| 55 | b := createNewBuffer() |
| 56 | err := loadFileToBuffer("./data/test/numeric_data.csv", b) |
| 57 | if err != nil { |
| 58 | t.Skipf("Test file not found: %v", err) |
| 59 | return |
| 60 | } |
| 61 | |
| 62 | if b.rowLen < 2 { |
| 63 | t.Errorf("Expected at least 2 rows, got %d", b.rowLen) |
| 64 | } |
| 65 | |
| 66 | t.Logf("Loaded %d rows with %d columns", b.rowLen, b.colLen) |
| 67 | } |
| 68 | |
| 69 | func TestLoadFileToBuffer_SpecialChars(t *testing.T) { |
| 70 | b := createNewBuffer() |
nothing calls this directly
no test coverage detected