1 |
|
2 |
/******************************************************* |
3 |
* |
4 |
* Copyright (c) 2003-2008 by University of Queensland |
5 |
* Earth Systems Science Computational Center (ESSCC) |
6 |
* http://www.uq.edu.au/esscc |
7 |
* |
8 |
* Primary Business: Queensland, Australia |
9 |
* Licensed under the Open Software License version 3.0 |
10 |
* http://www.opensource.org/licenses/osl-3.0.php |
11 |
* |
12 |
*******************************************************/ |
13 |
|
14 |
|
15 |
#include "compareCCall.h" |
16 |
|
17 |
/* |
18 |
* Return true if all of the calls match the expected values. |
19 |
* Return false if results don't match. |
20 |
*/ |
21 |
int compareCCall(struct escriptDataC* data, int typeResult) |
22 |
{ |
23 |
int result=0; |
24 |
result+=(getFunctionSpaceType(data)==typeResult); |
25 |
return result; |
26 |
} |