repo.or.cz
/
qshowdiff.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improved Makefiles.
[qshowdiff.git]
/
tests
/
diff.cpp
blob
59519a1b902bb09b2f011d5b0b4513499f8e2518
1
#include <cppu.h>
2
#include
"diff.h"
3
4
5
TEST_CASE
(
TestCaseDiff
);
6
void
testSingelton
()
7
{
8
Diff
*
diff1
=
Diff
::
instance
();
9
Diff
*
diff2
=
Diff
::
instance
();
10
assertEquals
(
diff1
,
diff2
);
11
}
12
13
TESTS
{
14
REG_TEST
(
testSingelton
);
15
}
16
TEST_CASE_END
;
17