|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Snodenc. More...
Go to the source code of this file.
Classes | |
| struct | List_of_5_nodes |
Concepts | |
| concept | Has_Get_First |
Functions | |
| TEST (Snodenc, conversion_from_slinknc) | |
| TEST_F (List_of_5_nodes, Basic_operations) | |
| TEST (Snodenc, get_first_of_a_lone_node_is_null) | |
| TEST (Snodenc, get_first_returns_the_following_node) | |
| TEST (Snodenc, get_first_is_a_reference_to_the_link) | |
Tests for Snodenc.
Definition in file snodenc.cc.
| TEST | ( | Snodenc | , |
| conversion_from_slinknc | |||
| ) |
Definition at line 82 of file snodenc.cc.
References Aleph::Slinknc::to_data(), and Aleph::Slinknc::to_snodenc().
| TEST | ( | Snodenc | , |
| get_first_is_a_reference_to_the_link | |||
| ) |
Definition at line 144 of file snodenc.cc.
References Aleph::Snodenc< T >::get_first(), Aleph::Snodenc< T >::get_next(), and Aleph::Slinknc::is_empty().
| TEST | ( | Snodenc | , |
| get_first_of_a_lone_node_is_null | |||
| ) |
Definition at line 117 of file snodenc.cc.
References Aleph::Snodenc< T >::get_first().
| TEST | ( | Snodenc | , |
| get_first_returns_the_following_node | |||
| ) |
Definition at line 123 of file snodenc.cc.
References Aleph::Snodenc< T >::get_data(), Aleph::Snodenc< T >::get_first(), Aleph::Slinknc::insert(), and Aleph::Snodenc< T >::remove_first().
| TEST_F | ( | List_of_5_nodes | , |
| Basic_operations | |||
| ) |
Definition at line 99 of file snodenc.cc.
References Aleph::Slinknc::next.