// Code generated by https://github.com/gagliardetto/codebox. DO NOT EDIT.

package main

import (
	"encoding/csv"
	"io"
)

func TaintStepTest_EncodingCsvNewReader_B0I0O0(sourceCQL interface{}) interface{} {
	fromReader656 := sourceCQL.(io.Reader)
	intoReader414 := csv.NewReader(fromReader656)
	return intoReader414
}

func TaintStepTest_EncodingCsvNewWriter_B0I0O0(sourceCQL interface{}) interface{} {
	fromWriter518 := sourceCQL.(*csv.Writer)
	var intoWriter650 io.Writer
	intermediateCQL := csv.NewWriter(intoWriter650)
	link(fromWriter518, intermediateCQL)
	return intoWriter650
}

func TaintStepTest_EncodingCsvReaderRead_B0I0O0(sourceCQL interface{}) interface{} {
	fromReader784 := sourceCQL.(csv.Reader)
	intoString957, _ := fromReader784.Read()
	return intoString957
}

func TaintStepTest_EncodingCsvReaderReadAll_B0I0O0(sourceCQL interface{}) interface{} {
	fromReader520 := sourceCQL.(csv.Reader)
	intoString443, _ := fromReader520.ReadAll()
	return intoString443
}

func TaintStepTest_EncodingCsvWriterWrite_B0I0O0(sourceCQL interface{}) interface{} {
	fromString127 := sourceCQL.([]string)
	var intoWriter483 csv.Writer
	intoWriter483.Write(fromString127)
	return intoWriter483
}

func TaintStepTest_EncodingCsvWriterWriteAll_B0I0O0(sourceCQL interface{}) interface{} {
	fromString989 := sourceCQL.([][]string)
	var intoWriter982 csv.Writer
	intoWriter982.WriteAll(fromString989)
	return intoWriter982
}

func RunAllTaints_EncodingCsv() {
	{
		source := newSource(0)
		out := TaintStepTest_EncodingCsvNewReader_B0I0O0(source)
		sink(0, out)
	}
	{
		source := newSource(1)
		out := TaintStepTest_EncodingCsvNewWriter_B0I0O0(source)
		sink(1, out)
	}
	{
		source := newSource(2)
		out := TaintStepTest_EncodingCsvReaderRead_B0I0O0(source)
		sink(2, out)
	}
	{
		source := newSource(3)
		out := TaintStepTest_EncodingCsvReaderReadAll_B0I0O0(source)
		sink(3, out)
	}
	{
		source := newSource(4)
		out := TaintStepTest_EncodingCsvWriterWrite_B0I0O0(source)
		sink(4, out)
	}
	{
		source := newSource(5)
		out := TaintStepTest_EncodingCsvWriterWriteAll_B0I0O0(source)
		sink(5, out)
	}
}
