Verify operation of obj_t
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
subroutine testObjective
!! Verify operation of obj_t
type(test_t)::test
write(*,*) test%eval(2.0_wp)-3.0_wp
write(*,*) test%der1(0.0_wp)
write(*,*) test%der2(0.0_wp)
write(*,*) test%rootNewton(4.0_wp,tol=1.0E-10_wp,maxIts=1000000)
write(*,*) test%minNewton(4.0_wp,tol=1.0E-10_wp,maxIts=1000000)
end subroutine testObjective