dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tests coverage report generation
[command.git]
/
tests
/
callable
/
invokes_provided_function.cpp
diff --git
a/tests/callable/invokes_provided_function.cpp
b/tests/callable/invokes_provided_function.cpp
index 5defb08cb1d2a790bd38274ac1cf0e89099452ae..b722fbeb93120d010383817153d5a04643fb49e2 100644
(file)
--- a/
tests/callable/invokes_provided_function.cpp
+++ b/
tests/callable/invokes_provided_function.cpp
@@
-9,12
+9,12
@@
using namespace command;
bool test = false;
-void function(bool val) {
+void
_
function(bool val) {
test = val;
};
int main() {
- TestCallable<bool> callable(function);
+ TestCallable<bool> callable(
_
function);
callable.callFunction(true);
if (test == true) {