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

Function main

kernel/spectrum/test.cc:334–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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