Code Coverage Report


Directory: targets/
File: om-tree-test-library/source/om/tree/node_stack_test.c
Date: 2024-10-29 22:25:26
Exec Total Coverage
Lines: 0 0 100.0%
Functions: 0 0 -%
Branches: 0 0 -%

Line Branch Exec Source
1 // LCOV_EXCL_START
2
3 #include <om/tree/node_stack_test.h>
4
5 #include <om/require.h>
6 #include <om/stack/template_test.h>
7 #include <om/tree/node_stack.h>
8
9 static Om_Tree_Node GetValue(
10 Om_Tree_Node const theItem
11 ) {
12 return theItem;
13 }
14
15 void Om_Tree_NodeStackTest(void) {
16 Om_Tree_Node theValues[] = {(Om_Tree_Node)NULL, (Om_Tree_Node)NULL};
17
18 Om_Tree_Node const theItems[] = {theValues[0], theValues[1]};
19 // NOLINTNEXTLINE(cppcoreguidelines-init-variables)
20 Om_Tree_Node theItem;
21
22 Om_Stack_TemplateTest(theValues, theItems, theItem);
23 }
24
25 // LCOV_EXCL_STOP
26