GCC Code Coverage Report
Directory:
./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Coverage
Exec / Excl / Total
Lines:
100.0%
2 / 0 / 2
Functions:
100.0%
2 / 0 / 2
Branches:
-%
0 / 0 / 0
List of functions
Function (File:Line)
Calls
Lines
Branches
Blocks
tifa_libs::point<double> tifa_libs::center_G<double>(tifa_libs::triangle<double> const&) (src/geo2d/tcenter/g/lib.hpp:9)
called 4 times
100.0%
-%
100.0%
tifa_libs::point<long double> tifa_libs::center_G<long double>(tifa_libs::triangle<long double> const&) (src/geo2d/tcenter/g/lib.hpp:9)
called 4 times
100.0%
-%
100.0%
src/geo2d/tcenter/g/lib.hpp
2 covered
0 uncovered
0 partial covered
0 excluded
Line
Branch
Exec
Source
1
#pragma once
2
3
#include
"../../ds/t/lib.hpp"
4
5
namespace
tifa_libs
{
6
7
// centroid (X2)
8
template
<
class
FP
>
9
8
CEXP
point
<
FP
>
center_G
(
triangle
<
FP
>
CR
t
)
NE
{
return
t
.
barycentrics
(
1
,
1
,
1
);
}
10
11
}
// namespace tifa_libs
12