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

Tests for Al Domain. More...

#include <gtest/gtest.h>
#include <al-domain.H>
#include <climits>
#include <stdexcept>
#include <vector>
Include dependency graph for al-domain.cc:

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)
 

Detailed Description

Tests for Al Domain.

Definition in file al-domain.cc.

Function Documentation

◆ TEST() [1/7]

TEST ( AlDomain  ,
ACopyHasTheSameKeys   
)

Definition at line 175 of file al-domain.cc.

References Aleph::AlDomain< T >::insert().

◆ TEST() [2/7]

TEST ( AlDomain  ,
KeysFollowARemovalThroughAnIterator   
)

Definition at line 155 of file al-domain.cc.

References Aleph::AlDomain< T >::insert(), and Aleph::size().

◆ TEST() [3/7]

◆ TEST() [4/7]

TEST ( Domain  ,
basic   
)

Definition at line 51 of file al-domain.cc.

◆ TEST() [5/7]

TEST ( IntRange  ,
ARangeUpToTheMaximumOfIntEnds   
)

Definition at line 88 of file al-domain.cc.

References r.

◆ TEST() [6/7]

TEST ( IntRange  ,
ASizeAboveTheRangeOfIntThrows   
)

Definition at line 102 of file al-domain.cc.

◆ TEST() [7/7]

TEST ( IntRange  ,
AStepThatIsNotPositiveThrows   
)

Definition at line 77 of file al-domain.cc.

References Aleph::size().