38# include <gtest/gtest.h>
42using namespace testing;
85 ASSERT_EQ(list.get_next()->get_data(), 1);
94 auto ptr = list.remove_first();
98 EXPECT_EQ(list.get_next()->get_data(), 1);
Dlink * remove_next() noexcept
Remove the item that is after this
void insert(Dlink *node) noexcept
Insert node after this.
Link of a single linked list non-circular and without header node.
Snodenc< T > * to_snodenc() noexcept
Convert this to a Snodenc<T>.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Singly linked list implementations with head-tail access.
Main namespace for Aleph-w library functions.
TEST_F(List_of_5_nodes, Basic_operations)