Line | |
---|
1 | % ---------------------------------------------------------------------- |
---|
2 | % TEST: Matlab's Rappture Library Test Functions. |
---|
3 | % |
---|
4 | % [err] = test_get_double(lib, path) |
---|
5 | % |
---|
6 | % |
---|
7 | % ====================================================================== |
---|
8 | % AUTHOR: Derrick Kearney, Purdue University |
---|
9 | % Copyright (c) 2004-2012 HUBzero Foundation, LLC |
---|
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_get_double(lib,path) |
---|
16 | err = 1; |
---|
17 | disp(sprintf('\n\nTESTING rpLibGetDouble\n')); |
---|
18 | [retVal,err] = rpLibGetDouble(lib,path); |
---|
19 | if ~err |
---|
20 | disp(sprintf ('rpLibGetDouble Successful: %e\n',retVal)); |
---|
21 | else |
---|
22 | disp(sprintf('Error within rpLibGetDouble function\n')); |
---|
23 | end |
---|
24 | return |
---|
Note: See
TracBrowser
for help on using the repository browser.