MCPcopy Index your code
hub / github.com/codechenx/FastTableViewer / TestLoadFileToBuffer_NumericData

Function TestLoadFileToBuffer_NumericData

io_test.go:54–67  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

52}
53
54func 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
69func TestLoadFileToBuffer_SpecialChars(t *testing.T) {
70 b := createNewBuffer()

Callers

nothing calls this directly

Calls 2

createNewBufferFunction · 0.85
loadFileToBufferFunction · 0.85

Tested by

no test coverage detected