On Oct 19, 2012, at 1:35 PM, Erik Kjellson wrote: > Hello, > > Now I have uploaded my implementation here: > https://sourceforge.net/p/octave/feature-requests/41/ > > I've noticed that a lot of function files have some kind of tests in the end > of the file. I guess that you use them to check that you haven't introduced > any logic error in the code when modifying it? > I did find this page: http://wiki.octave.org/Tests > But I guess I need to fake input from a fake file in some way, is there > anywhere I can read more on how to do that? > > regards, > Erik
I suggest you create a temporary file and use it for testing. See "help tmpnam" Ben ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev