Added Option tests.
[command.git] / tests / argument / handles_float_value.cpp
index 3fd86fb9bc8b6021cb63199c1444003ce7cded9b..9e53dc8d5b276f2d1cd9c11836ecab632f5a1492 100644 (file)
@@ -21,9 +21,13 @@ int main() {
     if (argument.understand(VALUE)) {
         argument.handle();
     }
+    else {
+        cout << argument.describe() << " do not understand float values\n";
+        return 1;
+    }
 
     if (test == std::stof(VALUE)) {
-        cout << "Argument class handles float values\n";
+        cout << argument.describe() << " handles float values\n";
         return 0;
     }