nidas  v1.2-1520
Classes | Functions | Variables
test_string_token.cc File Reference
#include "string_token.h"
#include <iostream>
#include <iterator>

Classes

struct  test_case
 

Functions

int main (int argc, const char *argv[])
 

Variables

test_case test_cases []
 

Function Documentation

int main ( int  argc,
const char *  argv[] 
)

Variable Documentation

test_case test_cases[]
Initial value:
= {
{ "a,b,c,d,", { "a", "b", "c", "d", "", 0 } },
{ ",123,123,,123,", { "", "123", "123", "", "123", "", 0 } },
{ ",", { "", "", 0 } },
{ "hello,good-bye,hello-again", { "hello", "good-bye", "hello-again", 0 } }
}

Referenced by main().