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

Tests for Array Utils. More...

#include <gtest/gtest.h>
#include <iostream>
#include <array_utils.H>
#include <ah-string-utils.H>
Include dependency graph for array_utils.cc:

Go to the source code of this file.

Classes

struct  SimpleArray
 
struct  ComplexArray
 

Functions

 TEST_F (SimpleArray, simple_open_gap_by_copy_left)
 
 TEST_F (SimpleArray, simple_open_gap_by_copy_right)
 
 TEST_F (SimpleArray, n_open_gap_by_copy_left)
 
 TEST_F (SimpleArray, open_gap_out_of_range)
 
 TEST_F (SimpleArray, close_gap_by_copy_left)
 
 TEST_F (SimpleArray, close_gap_by_copy_right)
 
 TEST_F (SimpleArray, n_close_gap_by_copy_left)
 
 TEST_F (SimpleArray, n_close_gap_by_copy_right)
 
 TEST_F (SimpleArray, close_gap_out_of_range)
 
 TEST_F (SimpleArray, reverse)
 
 TEST_F (SimpleArray, rotate_left)
 
 TEST_F (SimpleArray, rotate_right)
 
 TEST_F (ComplexArray, simple_open_gap_by_copy_left)
 
 TEST_F (ComplexArray, simple_open_gap_by_copy_right)
 
 TEST_F (ComplexArray, n_open_gap_by_copy_left)
 
 TEST_F (ComplexArray, close_gap_by_copy_left)
 
 TEST_F (ComplexArray, close_gap_by_copy_right)
 
 TEST_F (ComplexArray, n_close_gap_by_copy_left)
 
 TEST_F (ComplexArray, n_close_gap_by_copy_right)
 
 TEST_F (ComplexArray, open_gap_out_of_range)
 
 TEST_F (ComplexArray, reverse)
 
 TEST_F (ComplexArray, rotate_left)
 
 TEST_F (ComplexArray, rotate_right)
 

Detailed Description

Tests for Array Utils.

Definition in file array_utils.cc.

Function Documentation

◆ TEST_F() [1/23]

TEST_F ( ComplexArray  ,
close_gap_by_copy_left   
)

Definition at line 257 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [2/23]

TEST_F ( ComplexArray  ,
close_gap_by_copy_right   
)

Definition at line 265 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [3/23]

TEST_F ( ComplexArray  ,
n_close_gap_by_copy_left   
)

Definition at line 273 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [4/23]

TEST_F ( ComplexArray  ,
n_close_gap_by_copy_right   
)

Definition at line 281 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [5/23]

TEST_F ( ComplexArray  ,
n_open_gap_by_copy_left   
)

Definition at line 249 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [6/23]

TEST_F ( ComplexArray  ,
open_gap_out_of_range   
)

Definition at line 293 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [7/23]

TEST_F ( ComplexArray  ,
reverse   
)

Definition at line 311 of file array_utils.cc.

References Aleph::maps(), and Aleph::reverse().

◆ TEST_F() [8/23]

TEST_F ( ComplexArray  ,
rotate_left   
)

Definition at line 321 of file array_utils.cc.

References Aleph::maps(), and Aleph::rotate_left().

◆ TEST_F() [9/23]

TEST_F ( ComplexArray  ,
rotate_right   
)

Definition at line 330 of file array_utils.cc.

References Aleph::maps(), and Aleph::rotate_right().

◆ TEST_F() [10/23]

TEST_F ( ComplexArray  ,
simple_open_gap_by_copy_left   
)

Definition at line 225 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [11/23]

TEST_F ( ComplexArray  ,
simple_open_gap_by_copy_right   
)

Definition at line 236 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [12/23]

TEST_F ( SimpleArray  ,
close_gap_by_copy_left   
)

Definition at line 123 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [13/23]

TEST_F ( SimpleArray  ,
close_gap_by_copy_right   
)

Definition at line 132 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [14/23]

TEST_F ( SimpleArray  ,
close_gap_out_of_range   
)

Definition at line 164 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [15/23]

TEST_F ( SimpleArray  ,
n_close_gap_by_copy_left   
)

Definition at line 142 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [16/23]

TEST_F ( SimpleArray  ,
n_close_gap_by_copy_right   
)

Definition at line 152 of file array_utils.cc.

References Aleph::close_gap(), and Aleph::maps().

◆ TEST_F() [17/23]

TEST_F ( SimpleArray  ,
n_open_gap_by_copy_left   
)

Definition at line 94 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [18/23]

TEST_F ( SimpleArray  ,
open_gap_out_of_range   
)

Definition at line 105 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [19/23]

TEST_F ( SimpleArray  ,
reverse   
)

Definition at line 174 of file array_utils.cc.

References Aleph::maps(), and Aleph::reverse().

◆ TEST_F() [20/23]

TEST_F ( SimpleArray  ,
rotate_left   
)

Definition at line 184 of file array_utils.cc.

References Aleph::maps(), and Aleph::rotate_left().

◆ TEST_F() [21/23]

TEST_F ( SimpleArray  ,
rotate_right   
)

Definition at line 193 of file array_utils.cc.

References Aleph::maps(), and Aleph::rotate_right().

◆ TEST_F() [22/23]

TEST_F ( SimpleArray  ,
simple_open_gap_by_copy_left   
)

Definition at line 69 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().

◆ TEST_F() [23/23]

TEST_F ( SimpleArray  ,
simple_open_gap_by_copy_right   
)

Definition at line 80 of file array_utils.cc.

References Aleph::maps(), and Aleph::open_gap().