X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=tests%2Fpowell_gradient_tests.m;fp=tests%2Fpowell_gradient_tests.m;h=84924aa47dc272f30f488614c1830903dd177225;hb=54c2041babd3d3b67c9d26162f44da66f66b12db;hp=0000000000000000000000000000000000000000;hpb=3bd10526e0024458a17ce7588a954e4a470b2bbd;p=octave.git diff --git a/tests/powell_gradient_tests.m b/tests/powell_gradient_tests.m new file mode 100644 index 0000000..84924aa --- /dev/null +++ b/tests/powell_gradient_tests.m @@ -0,0 +1,5 @@ +## The gradient should be zero at the optimal point. + +unit_test_equals("powell_gradient(0,0,0,0) == 0", ... + 0, ... + powell_gradient(0,0,0,0));