From: <sla...@us...> - 2012-03-19 00:54:06
|
Revision: 9961 http://octave.svn.sourceforge.net/octave/?rev=9961&view=rev Author: slackydeb Date: 2012-03-19 00:54:00 +0000 (Mon, 19 Mar 2012) Log Message: ----------- ga: polish unit tests of ga Modified Paths: -------------- trunk/octave-forge/main/ga/inst/ga.m Modified: trunk/octave-forge/main/ga/inst/ga.m =================================================================== --- trunk/octave-forge/main/ga/inst/ga.m 2012-03-19 00:41:01 UTC (rev 9960) +++ trunk/octave-forge/main/ga/inst/ga.m 2012-03-19 00:54:00 UTC (rev 9961) @@ -157,6 +157,7 @@ %! "options", gaoptimset ()); %! x = ga (problem); +# TODO: structure/add tests below %!test x = ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000))); @@ -187,4 +188,4 @@ %!test ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("Generations", 10, "Vectorized", "on"))); -%!xtest ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("Generations", 10, "UseParallel", "always"))); +%!#xtest ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("Generations", 10, "UseParallel", "always"))); TODO This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |