TerrainGen coverage


terraingen/
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
6 / 6
100.0%
Branches:
1 / 1
100.0%
Functions:
2 / 2
100.0%

app/gui/run_none.cpp
Line Branch Exec Source
1 #include "terraingen/app/cli.h"
2 #include "terraingen/app/gui/run.h"
3
4 namespace terraingen::cli {
5
6 1 bool GuiAvailable() {
7 1 return false;
8 }
9
10 8 int RunGui(const std::vector<std::string>& args, std::ostream& /*out*/, std::ostream& err) {
11
1/1
✓ Branch 1 taken 1 time.
8 ParseGuiArgs(args);
12 err << "terraingen: this build has no GUI; configure TerrainGen with "
13 1 "-DTERRAINGEN_ERNIE_DIR=<path to an Ernie checkout>\n";
14 1 return kExitUsage;
15 }
16
17 } // namespace terraingen::cli
18