tstNeutronSpectra.f90

./Core/dc/f/tests/tstNeutronSpectra.f90

1 program tstneutronspectra
2 
3 #include "ScaleSTL/FortranTestMacros.h"
4 
6 use scalestl_vec_dbl_m
7 
8 implicit none
9 
10 type(origen_neutronspectra) :: neutron_spectra
11 type(scalestl_vec_dbl) :: bounds
12 type(scalestl_vec_dbl) :: intensity
13 integer,parameter :: i=c_size_t
14 
15 call neutron_spectra % initialize()
16 expect_true(neutron_spectra % has_bounds() )
17 expect_true(neutron_spectra % has_intensity() )
18 expect_true(neutron_spectra % has_intensity_alphan() )
19 expect_true(neutron_spectra % has_intensity_delayn() )
20 
21 call neutron_spectra % destroy()
22 
23 end program