TerrainGen coverage


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

util/version.cpp
Line Branch Exec Source
1 #include "terraingen/util/version.h"
2
3 namespace terraingen {
4
5 4 Version GetVersion() {
6 4 return Version{TERRAINGEN_VERSION_MAJOR, TERRAINGEN_VERSION_MINOR, TERRAINGEN_VERSION_PATCH};
7 }
8
9 2 int GetApiVersion() {
10 2 return TERRAINGEN_API_VERSION;
11 }
12
13 } // namespace terraingen
14