|
Aleph-w 3.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 <cstdio>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 219 of file ah-utils.cc.
| TEST | ( | AhUtilsTest | , |
| AreNear | |||
| ) |
Definition at line 121 of file ah-utils.cc.
References Aleph::are_near().
| TEST | ( | AhUtilsTest | , |
| Demangle | |||
| ) |
Definition at line 137 of file ah-utils.cc.
References CLASSNAME_TO_STRING, and Aleph::demangle().
| TEST | ( | AhUtilsTest | , |
| ErrorMsg | |||
| ) |
Definition at line 177 of file ah-utils.cc.
References Aleph::error_msg().
| TEST | ( | AhUtilsTest | , |
| EvenOdd | |||
| ) |
Definition at line 45 of file ah-utils.cc.
References Aleph::is_even(), and Aleph::is_odd().
| TEST | ( | AhUtilsTest | , |
| ExistsFile | |||
| ) |
Definition at line 148 of file ah-utils.cc.
References Aleph::exists_file().
| TEST | ( | AhUtilsTest | , |
| FloatUtils | |||
| ) |
Definition at line 160 of file ah-utils.cc.
References Aleph::is_normal_number(), Aleph::next_value(), and Aleph::prev_value().
| TEST | ( | AhUtilsTest | , |
| Indices | |||
| ) |
Definition at line 129 of file ah-utils.cc.
References Aleph::l_index(), and Aleph::u_index().
| TEST | ( | AhUtilsTest | , |
| Interpolation | |||
| ) |
Definition at line 110 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 95 of file ah-utils.cc.
References cmp(), and Aleph::median().
| TEST | ( | AhUtilsTest | , |
| NibbleConversion | |||
| ) |
Definition at line 59 of file ah-utils.cc.
References Aleph::char_to_nibble(), and Aleph::nibble_to_char().
| TEST | ( | AhUtilsTest | , |
| PowerOf2 | |||
| ) |
Definition at line 77 of file ah-utils.cc.
References Aleph::is_power_of_2(), and Aleph::next_power_of_2().
| TEST | ( | AhUtilsTest | , |
| Rvector | |||
| ) |
Definition at line 206 of file ah-utils.cc.
References Aleph::Rvector().