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
Added Option tests.
[command.git]
/
tests
/
argument
/
handles_float_value.cpp
diff --git
a/tests/argument/handles_float_value.cpp
b/tests/argument/handles_float_value.cpp
index 93ff14f11484cad3b7108a99c110496a7a043249..9e53dc8d5b276f2d1cd9c11836ecab632f5a1492 100644
(file)
--- a/
tests/argument/handles_float_value.cpp
+++ b/
tests/argument/handles_float_value.cpp
@@
-22,12
+22,12
@@
int main() {
argument.handle();
}
else {
argument.handle();
}
else {
- cout <<
"Argument class
do not understand float values\n";
+ cout <<
argument.describe() << "
do not understand float values\n";
return 1;
}
if (test == std::stof(VALUE)) {
return 1;
}
if (test == std::stof(VALUE)) {
- cout <<
"Argument class
handles float values\n";
+ cout <<
argument.describe() << "
handles float values\n";
return 0;
}
return 0;
}