
      How to Run the Mn_Fit Test Files and What the Results Should Be
      ---------------------------------------------------------------

I assume that you have the demonstration and test files. The test files are in
the directory mn_fit/test. The demonstration files are in 
mn_fit/`uname -s`/help. 

To run the demonstration files start up Mn_Fit and after giving the graphics
device give the command:
exec $MN_FIT_SYS/help/demo00 (Unix) or
exec mn_fit_help:demo00  (VMS)
You should also run the other macros which are used to make the figures for the
manual:

   exec symbol
   exec font
   exec hatch
   exec pattern
   exec key
   exec sizes
   exec ps_char

To run the test files start up Mn_Fit and after giving the graphics device
give the command
exec $MN_FIT/test/all_test (Unix) or
exec mn_fit_test:all_test  (VMS)

You will be asked where you want to put the files created during the
testing procedure. To put all files in your current working directory,
please give `.' and not just <Enter>.

As these are test macros they have some built-in errors that you should
ignore and not abort the execution of the macros. Errors that will not
happen in some later version of Mn_Fit when I introduce new features
are indicated with a *.

If you get an error trying to delete a file that does not exist, just skip it.

Below I will list the files that are run and indicate any errors:

 0) init_test:
    Should be run before you run any of the test macros. Defines aliases
    etc. that are used in the test macros.

 1A) fetch_test:
    a) mn_fetch
    b) mnfet_test:
    c) datfet_test:
    d) sctfet_test        (Vax only)
    e) avefet_test:       (Vax only)
    f) hb3fet_test:       (Vax only)
    g) hb4fet_test:


 1B) store_test:
    a) mnstore_test:
    b) hbstore_test:
    c) datstore_test:
      dat_store ... 1 2 3              fails for Ntuple 3

 1C) root_test:
    Gives an error fetching profile plot hprof.

 2A) plot_test:
    a) plot1_test:
    b) plot2_test:
    c) plot3_test:
    c) label_test: Tries out different label alignments
    d) lego_test:  Test out lego and surface plotting
    e) plot4_test: Tests out igtable and 2dim
    f) log_test:
       Tests out log scales
    g) pi_test:
       Tests out scales that are multiples or fractions of pi

 2B) slice_test:

 2C) time_test:
    Plotting vs date or time and date/time functions with Ntuples.

 3A) fit_test:
    If you want to run a particular fit_test, give the command sequence
       exec fit_test return
       exec fitn_test

    a) fit0_test:
    b) fit1_test:
    c) fit2_test:
    d) fit3_test:
    e) fit4_test:
    f) fit5_test:
    g) fit7_test:
    h) conv_test: DUMMY
    i) fithist_test:
       Test fitting with histograms

         fun add smooth                 No more space
    j) fit6_test:

         constr 8 p2-1                  Parameter 8 is already constrained

 4A) fun_check:

 4B) frag_test:

 4C) dipi_test:

 5A) char_test:
    Tests out continuation lines and also different comment and
    continuation characters

    Should give a few errors

 5B) do_test:

 5C) if_test:
     plot 8              non-existent histogram

 5D) comis_test:
    Tests out COMIS functions and makes a file comis_test.tmp for you to edit.
    Unless you give a set edit command edit/tpu will be used on VMS and emacs
    under Unix.
    First pass at file comis_test.tmp make:
       XMNCMI = DPAR(1) + DPAR(2)*DBLE(XX)**2
    Second pass:
       XMNCMI = DPAR(1) + 2*DPAR(2)*DBLE(XX)**3
    Third pass:
       XMNCMI = DPAR(1) + 0.6*DPAR(2)*DBLE(XX)**4

 5E) define_test:
     define junk1        error trying to define it again
     enddef              error as define failed

 5F) alias_test:
     show alias more     (translated to show alias what more)
                         command more not defined
     junk                command not known as alias what undefined

 5G) squeeze_test:
      book n                    Should run out of space sometime
      fill n                    Histogram will not exist

 6A) ntuple_test:
    a) ntpfet_test:
    b) prof_test:

 6B) cut_test:
    a) cut1_test:
    b) cut2_test:
    c) cut3_test:
       Just exit when you get into the editor with cut2_temp.for

 6C) merge_test:

 6D) scan_test:

 6E) call_test:
      Add a line TYPE XVAL to the skeleton function call_temp.for

 7A) oper_test:
    a) part_test:
    b) add_test:
       msub 7&16 7&14:15
         Error when trying to subtract from a range
    c) eff_test:
    d) sum_test:

 7B) calc_test:
      dep x5&1(1) = 1000               cannot change x bin of a histogram

 7C) var_test:

 7D) var_test:

 7E) text2_test:
     Should complain about trying to fill chnam(1,x)
     Error in dep chname(1,x)     

 8A) smooth_test:
     Unless MN_Fit is compiled with IMSL and/or NAGLIB you should skip the IMSL
     and NAGLIB tests.

 8B) spline_test:
     Unless MN_Fit is compiled with IMSL and/or NAGLIB you should skip the IMSL
     and NAGLIB tests.

 9A) draw_test:

 9B) symb_test:

 9C) font_test:

 9D) pfont_test:

 9E) pat_decgks_test:
     Commented out as it only really works under DECGKS.

Demos that also go in the manual:

10A) mn_fit_big:

10B) symbol:

10C) font:

10D) hatch:

10E) pattern:

10F) key:

10G) sizes:

10H) ps_char:
     Commented out - files are in mn_fit/figs.
