Lines Matching +full:- +full:- +full:root
2 // Use of this source code is governed by a BSD-style license that can be
5 #include "src/wasm/switch-logic.h"
6 #include "test/unittests/test-utils.h"
14 CHECK_EQ(node->begin, begin); in CheckNodeValues()
15 CHECK_EQ(node->end, end); in CheckNodeValues()
26 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local
27 CHECK_NULL(root->left); in TEST_F()
28 CHECK_NULL(root->right); in TEST_F()
29 CheckNodeValues(root, 12, 19); in TEST_F()
38 values.push_back(-4); in TEST_F()
39 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local
40 CheckNodeValues(root, 5, 5); in TEST_F()
41 CheckNodeValues(root->left, -4, -4); in TEST_F()
42 CHECK_NULL(root->left->left); in TEST_F()
43 CheckNodeValues(root->left->right, 1, 1); in TEST_F()
44 CHECK_NULL(root->left->right->left); in TEST_F()
45 CHECK_NULL(root->left->right->right); in TEST_F()
46 CheckNodeValues(root->right, 6, 6); in TEST_F()
47 CHECK_NULL(root->right->left); in TEST_F()
48 CheckNodeValues(root->right->right, 9, 9); in TEST_F()
49 CHECK_NULL(root->right->right->left); in TEST_F()
50 CHECK_NULL(root->right->right->right); in TEST_F()
65 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local
66 CheckNodeValues(root, 7, 7); in TEST_F()
67 CheckNodeValues(root->left, 1, 4); in TEST_F()
68 CheckNodeValues(root->right, 10, 13); in TEST_F()
69 CheckNodeValues(root->right->right, 16, 16); in TEST_F()
75 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local
76 CheckNodeValues(root, 3, 3); in TEST_F()
77 CHECK_NULL(root->left); in TEST_F()
78 CHECK_NULL(root->right); in TEST_F()
83 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local
84 CHECK_NULL(root); in TEST_F()