(t *testing.T)
| 65 | } |
| 66 | |
| 67 | func TestSepDetect_EmptyInput(t *testing.T) { |
| 68 | sd := sepDetecor{} |
| 69 | lines := []string{} |
| 70 | |
| 71 | sep := sd.sepDetect(lines) |
| 72 | if sep != 0 { |
| 73 | t.Errorf("Expected null separator for empty input, got %c", sep) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | func TestSepDetect_InconsistentSeparators(t *testing.T) { |
| 78 | sd := sepDetecor{} |