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 |
|
|
|