QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test-seg.c File Reference

Macros

#define num_line_tests   (sizeof (line_tests) / sizeof (line_tests[0]))
 
#define num_seg_tests   (sizeof (seg_tests) / sizeof (seg_tests[0]))
 

Functions

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

Variables

struct {
   int   expect
 
   const char *   tag
 
line_tests []
 
struct {
   const char *   expect
 
   const char *   tag
 
seg_tests []
 

Macro Definition Documentation

#define num_line_tests   (sizeof (line_tests) / sizeof (line_tests[0]))
#define num_seg_tests   (sizeof (seg_tests) / sizeof (seg_tests[0]))

Function Documentation

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

Variable Documentation

int expect
struct { ... } line_tests[]
Initial value:
= {
{"Vertex", 3},
{"Geometry", 5},
{"Fragment.Erosion", 7},
{"Fragment.Grassfire", 9},
{"TessControl", 11},
{"TessEvaluation", 13},
}
struct { ... } seg_tests[]
Initial value:
= {
{"", 0},
{"Vertex", "FOO\n"},
{"Geometry", "BAR\n"},
{"Fragment.Erosion", "BAZ\n"},
{"Fragment.Grassfire", "QUX\n"},
{"TessControl", "QUUX\n"},
{"TessEvaluation", "QUUUX"},
{"Vertex.Erosion", "FOO\n"},
{"Geometry.Grasfire", "BAR\n"},
}
const char* tag