/* *Smallprogramtotestlibgapabilitytosaveworkspaces. *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/ #include"common.h" int main(int argc, char ** argv)
{
GAP_Initialize(argc, argv, 0, 0, 1);
test_eval("g:=FreeGroupjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
test_eval("a:=g.1;");
test_eval("b:=g.2;");
test_eval("lis:=[a^2, a^2, b*a];");
test_eval("h:=g/lis;"); /* TODO: use unique temporary filename to avoid a race */
test_eval("SaveWorkspace(\"/tmp/libgap.ws\");\n");
printf("# done\n"); return0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.