Code Coverage Report


Directory: targets/
File: om-tree-test-library/source/om/tree/node_pointer_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_pointer_stack_test.h>
4
5 #include <om/require.h>
6 #include <om/stack/template_test.h>
7 #include <om/tree/node_pointer_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_NodePointerStackTest(void) {
16 Om_Tree_Node * const theValues[] = {NULL, NULL};
17
18 Om_Tree_Node * 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