tests/test_tree.c

changeset 854
fe0d69d72bcd
parent 853
d4baf4dd55c3
     1.1 --- a/tests/test_tree.c	Thu May 23 19:29:14 2024 +0200
     1.2 +++ b/tests/test_tree.c	Thu May 23 20:29:28 2024 +0200
     1.3 @@ -260,8 +260,8 @@
     1.4          CX_TEST_ASSERT(!iter.exiting);
     1.5          CX_TEST_ASSERT(iter.counter == 1);
     1.6          CX_TEST_ASSERT(iter.node == &root);
     1.7 -        CX_TEST_ASSERT(!iter.mutating);
     1.8 -        CX_TEST_ASSERT(!iter.remove);
     1.9 +        CX_TEST_ASSERT(!iter.base.mutating);
    1.10 +        CX_TEST_ASSERT(!iter.base.remove);
    1.11          CX_TEST_ASSERT(iter.stack != NULL);
    1.12          CX_TEST_ASSERT(iter.stack_capacity > 0);
    1.13          CX_TEST_ASSERT(iter.stack_size == 1);
    1.14 @@ -517,8 +517,8 @@
    1.15          CxTreeVisitor iter = cx_tree_visitor(&root, tree_child_list);
    1.16          CX_TEST_ASSERT(iter.counter == 1);
    1.17          CX_TEST_ASSERT(iter.node == &root);
    1.18 -        CX_TEST_ASSERT(!iter.mutating);
    1.19 -        CX_TEST_ASSERT(!iter.remove);
    1.20 +        CX_TEST_ASSERT(!iter.base.mutating);
    1.21 +        CX_TEST_ASSERT(!iter.base.remove);
    1.22          CX_TEST_ASSERT(iter.queue_next != NULL);
    1.23          CX_TEST_ASSERT(iter.queue_last != NULL);
    1.24          CX_TEST_ASSERT(iter.depth == 1);

mercurial