diff --git a/test/options.cpp b/test/options.cpp index 2546eb9..e6eae0c 100644 --- a/test/options.cpp +++ b/test/options.cpp @@ -59,4 +59,9 @@ TEST_CASE("Basic options", "[options]") options.parse(argc, actual_argv); CHECK(options.count("long") == 1); + CHECK(options.count("s") == 1); + CHECK(options.count("value") == 1); + CHECK(options.count("a") == 1); + CHECK(options["value"].as() == "value"); + CHECK(options["a"].as() == "b"); }