GCC Code Coverage Report


Directory: src/
File: cmdl_interactive/cmdl_interactive.cpp
Date: 2024-12-30 15:39:09
Exec Total Coverage
Lines: 0 11 0.0%
Functions: 0 1 0.0%
Branches: 0 16 0.0%

Line Branch Exec Source
1 #include <cstdlib>
2 #include <iostream>
3 #include <string>
4 #include <text_conversion_constexpr.h>
5
6 int main()
7 {
8 std::string input;
9 while (true)
10 {
11 std::cout << "Enter a text to process or \"exit\" to end the program: ";
12
13 std::getline(std::cin, input);
14
15 if (input == "exit")
16 break;
17
18 text_conversion_constexpr::convert_to_title_case(input);
19
20 std::cout << input << std::endl;
21 }
22
23 std::cout << "end of program" << std::endl;
24
25 return EXIT_SUCCESS;
26 }
27