Changeset 165 for trunk/test/src
- Timestamp:
- Jan 31, 2006, 2:49:49 PM (19 years ago)
- Location:
- trunk/test/src
- Files:
-
- 1 added
- 4 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/src/RpMatlab_test.m
r164 r165 22 22 % 23 23 % cd test 24 % matlab -nodisplay -r path\(path,\'src\'\), infile=\'rplib_test.xml\',RpMatlab_test24 % matlab -nodisplay -r path\(path,\'src\'\),path\(path,\'src\/matlab\'\),infile=\'rplib_test.xml\',RpMatlab_test 25 25 26 26 %path(path,src'); … … 55 55 err = test_node_id(lib,'input.number(min)'); 56 56 err = test_node_type(lib,'input.number(min)'); 57 err = test_put(lib,'output.curve(result).xy(f12)','12 13', ' ',1);57 err = test_put(lib,'output.curve(result).xy(f12)','12 13',1); 58 58 err = test_put_dbl(lib,'output.curve(result).xy(f13)',22,1); 59 59 err = test_put_dbl(lib,'output.curve(result).xy(f14)',0,1); -
trunk/test/src/RpOctave_test.m
r155 r165 45 45 err = test_node_id(lib,'input.number(min)'); 46 46 err = test_node_type(lib,'input.number(min)'); 47 err = test_put(lib,'output.curve(result).xy(f12)','12 13', '',1);47 err = test_put(lib,'output.curve(result).xy(f12)','12 13',1); 48 48 err = test_put_dbl(lib,'output.curve(result).xy(f13)',22,1); 49 49 err = test_put_dbl(lib,'output.curve(result).xy(f14)',0,1); -
trunk/test/src/matlab/test_put.m
r154 r165 13 13 % ====================================================================== 14 14 15 function [err] = test_put(libHandle,path,value, id,append)15 function [err] = test_put(libHandle,path,value,append) 16 16 err = 1; 17 17 disp(sprintf('\n\nTESTING rpLibPut\n')); 18 [err] = rpLibPut(libHandle,path,value, id,append);18 [err] = rpLibPut(libHandle,path,value,append); 19 19 if ~err 20 if ~strcmp(id,'') 21 pathID = [path,'(',id,')'] 22 else 23 pathID = path 24 end 25 [retStr, err] = rpLibGet(libHandle,pathID); 20 [retStr, err] = rpLibGet(libHandle,path); 26 21 disp(sprintf ('retStr = %s\n',retStr)); 27 22 if ~err
Note: See TracChangeset
for help on using the changeset viewer.