// Copyright (C) 2017 Christian Sailer
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
#include "catch.hpp"
#include "../depthmapXcli/axialparser.h"
#include "argumentholder.h"
TEST_CASE("Test mode and help")
{
AxialParser parser;
REQUIRE(parser.getModeName() == "AXIAL");
REQUIRE(parser.getHelp() == "Mode options for Axial Analysis:\n"\
" -xl , Calculate all lines map from this seed point (can be used more than once)\n"
" -xf Calculate fewest lines map from all lines map\n"\
" -xa run axial anlysis with specified radii\n"\
" All modes expect to find the required input in the in graph\n"\
" Any combination of flags above can be specified, they will always be run in the order -aa -af -au -ax\n"\
" Further flags for axial analysis are:\n"\
" -xac Include choice (betweenness)\n"\
" -xal Include local measures\n"\
" -xar Include RA, RRA and total depth\n"\
" -xaw