GCC Code Coverage Report
Directory: cmake-example-component-lib Exec Total Coverage
File: include/mathfunctions/MathFunctions.h Lines: 4 4 100.0 %
Date: 2021-03-15 07:36:42 Branches: 0 0 - %

Line Branch Exec Source
1
#pragma once
2
3
#include <mathfunctions/mathfunctions_export.h>
4
5
namespace MathFunctions {
6
  double MATHFUNCTIONS_EXPORT sqrt(double x);
7
8
1
  auto inline add(double x, double y) -> double { return x + y; }
9
1
  auto inline dif(double x, double y) -> double { return x - y; }
10
1
  auto inline mul(double x, double y) -> double { return x * y; }
11
1
  auto inline quo(double x, double y) -> double { return x / y; }
12
}  // namespace MathFunctions