MCPcopy Create free account
hub / github.com/ddnet/ddnet / TEST

Function TEST

src/test/csv_test.cpp:44–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44TEST(Csv, Simple)
45{
46 const char *apCols1[] = {"a", "b"};
47 Expect(2, apCols1, "a,b");
48 const char *apCols2[] = {"こんにちは"};
49 Expect(1, apCols2, "こんにちは");
50 const char *apCols3[] = {"я", "", "й"};
51 Expect(3, apCols3, "я,,й");
52 const char *apCols4[] = {""};
53 Expect(1, apCols4, "");
54 const char *apCols5[] = {nullptr};
55 Expect(0, apCols5, "");
56}
57
58TEST(Csv, LetTheQuotingBegin)
59{

Callers

nothing calls this directly

Calls 1

ExpectFunction · 0.85

Tested by

no test coverage detected