Last change
on this file since 3177 was
3177,
checked in by mmc, 12 years ago
|
Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.
|
File size:
1014 bytes
|
Line | |
---|
1 | % ---------------------------------------------------------------------- |
---|
2 | % TEST: Octave's Rappture Library Test Functions. |
---|
3 | % |
---|
4 | % [err] = test_define_unit(unitSymbol, basisHandle) |
---|
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_define_unit(unitSymbol, basisHandle) |
---|
16 | err = 1; |
---|
17 | printf("\n\nTESTING rpUnitsDefineUnit\n"); |
---|
18 | [unitsHandle,err] = rpUnitsDefineUnit(unitSymbol, basisHandle); |
---|
19 | if !err |
---|
20 | |
---|
21 | if unitsHandle |
---|
22 | printf ("Successfully Created %s\n",unitSymbol); |
---|
23 | else |
---|
24 | printf ("FAILED Creating %s\n",unitSymbol); |
---|
25 | end |
---|
26 | |
---|
27 | else |
---|
28 | printf("Error within rpUnitsDefineUnits function\n"); |
---|
29 | end |
---|
30 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.