From: <sla...@us...> - 2012-03-24 16:34:02
|
Revision: 10032 http://octave.svn.sourceforge.net/octave/?rev=10032&view=rev Author: slackydeb Date: 2012-03-24 16:33:56 +0000 (Sat, 24 Mar 2012) Log Message: ----------- ga: test private functions with unit tests too Probably these (as the others) private functions should be converted to subfunctions. Thus in the future this commit will be "reverted" and these private (sub)functions will be tested in the file of the main function. Modified Paths: -------------- trunk/octave-forge/main/ga/inst/test_ga.m Modified: trunk/octave-forge/main/ga/inst/test_ga.m =================================================================== --- trunk/octave-forge/main/ga/inst/test_ga.m 2012-03-24 16:33:44 UTC (rev 10031) +++ trunk/octave-forge/main/ga/inst/test_ga.m 2012-03-24 16:33:56 UTC (rev 10032) @@ -20,7 +20,7 @@ ## Author: Luca Favatella <sla...@gm...> ## Created: March 2012 -## Version: 0.2 +## Version: 0.3 ## Creation test gacreationuniform @@ -43,3 +43,7 @@ ## Genetic Algorithm test gaoptimset test ga + +## Private functions +test __ga_initial_population__ +test __ga_problem_update_state_at_each_generation__ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |