ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
label_spec.h
Go to the documentation of this file.
1 
7 #include "../src/label.h"
8 #include "../src/ceptr.h"
9 
10 void testLabel() {
11  int p[] = {1,3,4,TREE_PATH_TERMINATOR};
12  int *pp;
13  LabelTable table = NULL;
14 
15  spec_is_equal(str2label("fish"),1529677330);
16  labelSet(&table,"fish",p);
17  pp = labelGet(&table,"fish");
18  spec_is_path_equal(p,pp);
19 
20  lableTableFree(&table);
21 }