TerrainGen coverage


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

distribution/viper.cpp
Line Branch Exec Source
1 #include "terraingen/distribution/viper.h"
2
3 namespace terraingen {
4
5 7 PiecewisePowerLawSfd ViperSpecification() {
6 return PiecewisePowerLawSfd({{0.0, 29174.0 / 1e6, 1.92}, {80.0, 156228.0 / 1e6, 2.389}},
7
2/2
✓ Branch 2 taken 7 times.
✓ Branch 5 taken 7 times.
21 SfdKind::Density, DiameterRange{}, true);
8 }
9
10 } // namespace terraingen
11