1# generated from the original tests.
2# Henceforth it may be nicer to group tests into separate files.
3-- in.cue --
4import "encoding/csv"
5
6t1: csv.Decode("1,2,3\n4,5,6")
7t2: csv.Encode([[1, 2, 3], [4, 5], [7, 8, 9]])
8t3: csv.Encode([["a", "b"], ["c"]])
9-- out/csv --
10t1: [["1", "2", "3"], ["4", "5", "6"]]
11t2: """
12 1,2,3
13 4,5
14 7,8,9
15
16 """
17t3: """
18 a,b
19 c
20
21 """