MCPcopy Create free account
hub / github.com/Singular/Singular / main

Function main

kernel/combinatorics/test.cc:340–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338
339
340int main( int, char *argv[] )
341{
342 assume( sizeof(long) == SIZEOF_LONG );
343
344 if( sizeof(long) != SIZEOF_LONG )
345 {
346 WerrorS("Bad config.h: wrong size of long!");
347
348 return(1);
349 }
350
351
352 feInitResources(argv[0]);
353
354 StringSetS("resources in use (as reported by feStringAppendResources(0):\n");
355 feStringAppendResources(0);
356
357 PrintLn();
358 { char* s = StringEndS(); PrintS(s); omFree(s); }
359
360 TestGBEngine();
361 TestSimpleRingArithmetcs();
362
363 return 0;
364}

Callers

nothing calls this directly

Calls 9

WerrorSFunction · 0.85
feInitResourcesFunction · 0.85
StringSetSFunction · 0.85
feStringAppendResourcesFunction · 0.85
StringEndSFunction · 0.85
PrintSFunction · 0.85
TestGBEngineFunction · 0.70
TestSimpleRingArithmetcsFunction · 0.70
PrintLnFunction · 0.50

Tested by

no test coverage detected