Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
htlist.cc File Reference

Tests for Htlist. More...

#include <gtest/gtest.h>
#include <htlist.H>
#include <stdexcept>
#include <utility>
Include dependency graph for htlist.cc:

Go to the source code of this file.

Classes

struct  List_of_25_nodes
 

Functions

 TEST (HTList, Basic_operations)
 
 TEST (HTList, Simple_append_and_insert_of_list)
 
 TEST_F (List_of_25_nodes, Basic_operations)
 
 TEST (HTList, Iterator_on_empty_list)
 
 TEST_F (List_of_25_nodes, Iterator_operations)
 
 TEST_F (List_of_25_nodes, Iterator_del_ne_removes_the_first_a_middle_and_the_last)
 
 TEST (HTListDeathTest, Iterator_del_ne_asserts_that_there_is_a_current_item)
 
 TEST_F (List_of_25_nodes, Split_and_concat)
 
 TEST_F (List_of_25_nodes, swap)
 
 TEST_F (List_of_25_nodes, cut_and_concat)
 
 TEST_F (List_of_25_nodes, reverse)
 
 TEST_F (List_of_25_nodes, rotate_left)
 
 TEST (HTList, As_stack)
 
 TEST (DynList, AMoveThatThrowsLeavesTheItemInTheList)
 
 TEST (DynList, ARemoveMovesTheItemOnce)
 
 TEST (DynList, AMoveThatThrowsInDelLeavesTheItemInTheList)
 

Detailed Description

Tests for Htlist.

Definition in file htlist.cc.

Function Documentation

◆ TEST() [1/8]

◆ TEST() [2/8]

◆ TEST() [3/8]

TEST ( DynList  ,
ARemoveMovesTheItemOnce   
)

◆ TEST() [4/8]

◆ TEST() [5/8]

◆ TEST() [6/8]

◆ TEST() [7/8]

◆ TEST() [8/8]

TEST ( HTListDeathTest  ,
Iterator_del_ne_asserts_that_there_is_a_current_item   
)

◆ TEST_F() [1/8]

TEST_F ( List_of_25_nodes  ,
Basic_operations   
)

Definition at line 155 of file htlist.cc.

References Aleph::Snodenc< T >::get_data().

◆ TEST_F() [2/8]

◆ TEST_F() [3/8]

◆ TEST_F() [4/8]

TEST_F ( List_of_25_nodes  ,
Iterator_operations   
)

Definition at line 183 of file htlist.cc.

References Aleph::HTList::Iterator::has_curr().

◆ TEST_F() [5/8]

TEST_F ( List_of_25_nodes  ,
reverse   
)

◆ TEST_F() [6/8]

◆ TEST_F() [7/8]

◆ TEST_F() [8/8]