38# include <gtest/gtest.h>
43using namespace testing;
97 ASSERT_EQ(list.get_next()->get_next(), &n2);
98 ASSERT_EQ(list.get_next()->get_next()->get_next(), &n3);
99 ASSERT_EQ(list.get_next()->get_next()->get_next()->get_next(), &n4);
100 ASSERT_EQ(list.get_next()->get_next()->get_next()->get_next()->get_next(), &n5);
T & insert(const T &item)
constexpr bool is_empty() const noexcept
void reset_first() noexcept
Reset the iterator to the first link on the list.
bool has_curr() const noexcept
Return true if the iterator is positioned on a valid link.
Slinknc * get_curr() const
Link of a single linked list non-circular and without header node.
constexpr bool is_empty() const noexcept
Return true if this is empty.
void insert(Slinknc *p) noexcept
insert(p) inserts the node pointed by p after this.
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(Slinknc_of_5_items, Complex_operations)