|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Utils. More...
#include <gtest/gtest.h>#include <ahUtils.H>#include <vector>#include <fstream>#include <cstdint>#include <cstdio>#include <limits>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | MyTestStruct |
| struct | MockContainer |
| struct | MockContainer::Iterator |
Functions | |
| TEST (AhUtilsTest, EvenOdd) | |
| TEST (AhUtilsTest, NibbleConversion) | |
| TEST (AhUtilsTest, PowerOf2) | |
| TEST (AhUtilsTest, Median) | |
| TEST (AhUtilsTest, Interpolation) | |
| TEST (AhUtilsTest, AreNear) | |
| TEST (AhUtilsTest, Indices) | |
| TEST (AhUtilsTest, Demangle) | |
| TEST (AhUtilsTest, ExistsFile) | |
| TEST (AhUtilsTest, FloatUtils) | |
| TEST (AhUtilsTest, ErrorMsg) | |
| TEST (AhUtilsTest, Rvector) | |
| int | main (int argc, char **argv) |
Tests for Ah Utils.
Definition in file ah-utils.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 255 of file ah-utils.cc.
| TEST | ( | AhUtilsTest | , |
| AreNear | |||
| ) |
Definition at line 144 of file ah-utils.cc.
References Aleph::are_near().
| TEST | ( | AhUtilsTest | , |
| Demangle | |||
| ) |
Definition at line 173 of file ah-utils.cc.
References CLASSNAME_TO_STRING, and Aleph::demangle().
| TEST | ( | AhUtilsTest | , |
| ErrorMsg | |||
| ) |
Definition at line 213 of file ah-utils.cc.
References Aleph::error_msg().
| TEST | ( | AhUtilsTest | , |
| EvenOdd | |||
| ) |
Definition at line 48 of file ah-utils.cc.
References Aleph::is_even(), and Aleph::is_odd().
| TEST | ( | AhUtilsTest | , |
| ExistsFile | |||
| ) |
Definition at line 184 of file ah-utils.cc.
References Aleph::exists_file().
| TEST | ( | AhUtilsTest | , |
| FloatUtils | |||
| ) |
Definition at line 196 of file ah-utils.cc.
References Aleph::is_normal_number(), Aleph::next_value(), and Aleph::prev_value().
| TEST | ( | AhUtilsTest | , |
| Indices | |||
| ) |
Definition at line 165 of file ah-utils.cc.
References Aleph::l_index(), and Aleph::u_index().
| TEST | ( | AhUtilsTest | , |
| Interpolation | |||
| ) |
Definition at line 133 of file ah-utils.cc.
References Aleph::extrapolate_left(), Aleph::extrapolate_right(), Aleph::interpolate(), Aleph::pow2(), and Aleph::pow3().
| TEST | ( | AhUtilsTest | , |
| Median | |||
| ) |
Definition at line 118 of file ah-utils.cc.
References cmp(), and Aleph::median().
| TEST | ( | AhUtilsTest | , |
| NibbleConversion | |||
| ) |
Definition at line 62 of file ah-utils.cc.
References Aleph::char_to_nibble(), and Aleph::nibble_to_char().
| TEST | ( | AhUtilsTest | , |
| PowerOf2 | |||
| ) |
Definition at line 80 of file ah-utils.cc.
References Aleph::is_power_of_2(), and Aleph::next_power_of_2().
| TEST | ( | AhUtilsTest | , |
| Rvector | |||
| ) |
Definition at line 242 of file ah-utils.cc.
References Aleph::Rvector().