GCC Code Coverage Report


Directory: src/
File: lib/conversion.cpp
Date: 2024-12-30 15:39:09
Exec Total Coverage
Lines: 7 7 100.0%
Functions: 2 2 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 #include "text_conversion.h"
2 #include "text_conversion_constexpr.h"
3 #include <span>
4
5 namespace text_conversion
6 {
7
8 3 void convert_to_title_case(std::string& data)
9 {
10 3 text_conversion_constexpr::convert_to_title_case(data);
11 3 }
12
13 1 void convert_to_title_case(char* data, size_t cnt)
14 {
15 1 std::span<char> temp(data, cnt);
16 1 text_conversion_constexpr::convert_to_title_case(temp);
17 1 }
18
19 } // namespace text_conversion
20