Last change
on this file since 155 was
138,
checked in by dkearney, 19 years ago
|
1) addition of octave/matlab test scripts, some still need work
2) the rpLibPutDoubleId and rpLibPutStringId functions are not quite working.
3) minor fixes to src/octave/rpLibPutDouble.cc and src/octave/rpUnitsGetBasis.cc
|
File size:
1.1 KB
|
Line | |
---|
1 | % ---------------------------------------------------------------------- |
---|
2 | % TEST: Octave's Rappture Library Test Functions. |
---|
3 | % |
---|
4 | % [err] = test_node_comp(lib, path) |
---|
5 | % |
---|
6 | % |
---|
7 | % ====================================================================== |
---|
8 | % AUTHOR: Derrick Kearney, Purdue University |
---|
9 | % Copyright (c) 2004-2005 Purdue Research Foundation |
---|
10 | % |
---|
11 | % See the file "license.terms" for information on usage and |
---|
12 | % redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
13 | % ====================================================================== |
---|
14 | |
---|
15 | function [err] = test_node_comp(lib,path) |
---|
16 | err = 1; |
---|
17 | printf("\n\nTESTING rpLibNodeComp\n"); |
---|
18 | [nodeHandle,err] = rpLibElement(lib,path); |
---|
19 | if !err |
---|
20 | if nodeHandle |
---|
21 | [compStr,err] = rpLibNodeComp(nodeHandle); |
---|
22 | if !err |
---|
23 | printf ("%s compStr = %s\n", path, compStr); |
---|
24 | else |
---|
25 | printf("Error within rpLibNodeComp function\n"); |
---|
26 | end |
---|
27 | else |
---|
28 | printf("rpLibElement returned invalid nodeHandle\n"); |
---|
29 | end |
---|
30 | else |
---|
31 | printf("Error within rpLibElement function\n"); |
---|
32 | end |
---|
33 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.