Bug correction on the unit tests
Yann Collette [Mon, 2 Jun 2008 15:59:42 +0000 (15:59 +0000)]
scilab/modules/parameters/tests/unit_tests/list_param.tst
scilab/modules/parameters/tests/unit_tests/set_param.tst

index 26896ff..35c2348 100755 (executable)
@@ -15,4 +15,4 @@ test_list = add_param(test_list,'param_2',2);
 
 list_of_params = list_param(test_list);
 
-if length(list_of_params)~=2 then pause,end
+if size(list_of_params,2)~=2 then pause,end
index d5e4d66..150bb61 100755 (executable)
@@ -10,6 +10,6 @@
 
 test_list = init_param();
 
-test_list = set_param(test_list,'test',%T);
+test_list = add_param(test_list,'test',%T);
 
 if get_param(test_list,'test')~=%T then pause,end