Add extended_powell functions and their tests.
[octave.git] / tests / extended_powell_hessian1_tests.m
1 ## When m=1 we should agree with powell_hessian1().
2
3 x = [4;5;6;7];
4 f1 = powell_hessian1(x);
5 f2 = extended_powell_hessian1(x);
6
7 unit_test_equals("(extended_)powell_hessian1 agree for m=1", ...
8 true, ...
9 f1 == f2);