Thanks---I think rtest16 should do kill("f", "g"). And I agree that each test file should remove assignments, reset non-default values
of option variables, kill arrays, and remove function definitions. Actually, when feasible test files should set option variables locally,
not globally; for example
block([numer : true, domain : complex], (-2)^(1/3) * exp(2));
8.062373757064234*%i+4.654813658948411$
Alternative: (-2)^(1/3) * exp(2)), numer : true, domain : complex.
I think rtestnset is the first test because at the time it was added, too many tests didn't follow the clean up rule (or maybe it was
that kill(all) did too much).
--Barton
________________________________
rtest16, line 2003:
(f:make_array(functional, 'factorial, hashed), done);
line 2183:
(postfix("f"), prefix("g"), done);
As far as I see this results in what you get.
I would like to propose, that every test file should kill or clear all variables it uses. A test should not affect the top level.
Volker