Tests

Issue #4 on hold
Joseph Parker created an issue

utils doesn't have any tests; we should implement some.

@bdorland notes that it's likely much of utils is unused, so we should first do code coverage to determine what code is actually needed.

Comments (2)

  1. Joseph Parker reporter

    utils code touched by the current test suite (which includes "full" nonlinear cases):

    File 'utils/constant_random.f90'
    Lines executed:100.00% of 15
    Creating 'constant_random.f90.gcov'
    
    File 'utils/convert.f90'
    Lines executed:36.11% of 72
    Creating 'convert.f90.gcov'
    
    File 'utils/gauss_quad.f90'
    Lines executed:71.08% of 325
    Creating 'gauss_quad.f90.gcov'
    
    File 'utils/matrix_inverse.f90'
    Lines executed:56.00% of 25
    Creating 'matrix_inverse.f90.gcov'
    
    File 'utils/quadpack.f90'
    Lines executed:0.00% of 2242
    Creating 'quadpack.f90.gcov'
    
    File 'utils/redistribute.f90'
    Lines executed:9.88% of 3239
    Creating 'redistribute.f90.gcov'
    
    File 'utils/sorting.f90'
    Lines executed:30.07% of 286
    Creating 'sorting.f90.gcov'
    
    File 'utils/spl.f90'
    Lines executed:29.00% of 1652
    Creating 'spl.f90.gcov'
    
    File 'utils/text_options.f90'
    Lines executed:20.51% of 39
    Creating 'text_options.f90.gcov'
    
    Lines executed:14.93% of 7895
    
  2. Log in to comment