Reconstructing rtest_trig this way would be an improvement--it's OK with me.
--Barton
________________________________
I think it would be beneficial if the initialization of id and maxerror be grouped together. The for loop part could be modified do something like if is(maxerror < 1.0e-15) then true else maxerror.
That makes it clearer why the test failed. And the number of tests is "artificially" inflated because a lot of the tests are just setup for the actual test, and then there's one additional test to see if it worked. :-)
Ray