|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Al Domain. More...
#include <gtest/gtest.h>#include <al-domain.H>#include <climits>#include <stdexcept>#include <vector>Go to the source code of this file.
Functions | |
| TEST (Domain, basic) | |
| TEST (IntRange, AStepThatIsNotPositiveThrows) | |
| TEST (IntRange, ARangeUpToTheMaximumOfIntEnds) | |
| TEST (IntRange, ASizeAboveTheRangeOfIntThrows) | |
| TEST (AlDomain, KeysFollowTheInsertionsAndTheRemovals) | |
| TEST (AlDomain, KeysFollowARemovalThroughAnIterator) | |
| TEST (AlDomain, ACopyHasTheSameKeys) | |
Tests for Al Domain.
Definition in file al-domain.cc.
| TEST | ( | AlDomain | , |
| ACopyHasTheSameKeys | |||
| ) |
Definition at line 175 of file al-domain.cc.
References Aleph::AlDomain< T >::insert().
| TEST | ( | AlDomain | , |
| KeysFollowARemovalThroughAnIterator | |||
| ) |
Definition at line 155 of file al-domain.cc.
References Aleph::AlDomain< T >::insert(), and Aleph::size().
| TEST | ( | AlDomain | , |
| KeysFollowTheInsertionsAndTheRemovals | |||
| ) |
Definition at line 112 of file al-domain.cc.
References Aleph::AlDomain< T >::add(), Aleph::AlDomain< T >::append(), Aleph::AlDomain< T >::clear(), Aleph::AlDomain< T >::contains_or_insert(), Aleph::AlDomain< T >::empty(), Aleph::AlDomain< T >::insert(), Aleph::AlDomain< T >::remove(), Aleph::AlDomain< T >::remove_ptr(), Aleph::AlDomain< T >::search_or_insert(), and Aleph::AlDomain< T >::swap().
| TEST | ( | Domain | , |
| basic | |||
| ) |
Definition at line 51 of file al-domain.cc.
| TEST | ( | IntRange | , |
| ARangeUpToTheMaximumOfIntEnds | |||
| ) |
Definition at line 88 of file al-domain.cc.
References r.
| TEST | ( | IntRange | , |
| ASizeAboveTheRangeOfIntThrows | |||
| ) |
Definition at line 102 of file al-domain.cc.
| TEST | ( | IntRange | , |
| AStepThatIsNotPositiveThrows | |||
| ) |
Definition at line 77 of file al-domain.cc.
References Aleph::size().