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

Function TestLoadFileToBuffer_Compressed

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

Source from the content-addressed store, hash-verified

80}
81
82func TestLoadFileToBuffer_Compressed(t *testing.T) {
83 b := createNewBuffer()
84 err := loadFileToBuffer("./data/test/compressed_data.csv.gz", b)
85 if err != nil {
86 t.Skipf("Compressed test file not found: %v", err)
87 return
88 }
89
90 if b.rowLen < 5 {
91 t.Errorf("Expected data from compressed file, got %d rows", b.rowLen)
92 }
93}
94
95func TestLoadFileToBuffer_TSV(t *testing.T) {
96 b := createNewBuffer()

Callers

nothing calls this directly

Calls 2

createNewBufferFunction · 0.85
loadFileToBufferFunction · 0.85

Tested by

no test coverage detected