Added Argument boolean tests.
[command.git] / tests / argument / handles_int_value.cpp
index 552a2e35e30d114bcde6145c3d258ab036dc65fa..ffe130c83cd30549951f3ab306424d41bc65f800 100644 (file)
@@ -22,6 +22,10 @@ int main() {
     if (argument.understand(VALUE)) {
         argument.handle();
     }
+    else {
+        cout << "Argument class do not understand int values\n";
+        return 1;
+    }
 
     if (test == std::stoi(VALUE)) {
         cout << "Argument class handles int values\n";