Long tests for GAP#

These stress test the garbage collection inside GAP

sage.libs.gap.test_long.test_loop_1()#

EXAMPLES:

sage: from sage.libs.gap.test_long import test_loop_1
sage: test_loop_1()  # long time (up to 25s on sage.math, 2013)
sage.libs.gap.test_long.test_loop_2()#

EXAMPLES:

sage: from sage.libs.gap.test_long import test_loop_2
sage: test_loop_2()  # long time (10s on sage.math, 2013)
sage.libs.gap.test_long.test_loop_3()#

EXAMPLES:

sage: from sage.libs.gap.test_long import test_loop_3
sage: test_loop_3()  # long time (31s on sage.math, 2013)