projects
/
platform
/
upstream
/
c-mock.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 0.4.0
[platform/upstream/c-mock.git]
/
test
/
math.h
1
#ifndef CMOCK_TEST_MATH_H_
2
#define CMOCK_TEST_MATH_H_
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
int add(int a1, int a2);
9
int substract(int a1, int a2);
10
11
/* This function isn't implemented, but still can be mocked. */
12
int negate(int n);
13
14
#ifdef __cplusplus
15
}
16
#endif
17
18
#endif /* CMOCK_TEST_MATH_H_ */