Contains common functions, functors and other classes often needed by the tests. More...
#include "viennashe/forwards.h"#include "viennashe/log/log.hpp"#include <cmath>#include <algorithm>Go to the source code of this file.
Namespaces | |
| namespace | viennashe |
| The main ViennaSHE namespace. All functionality resides inside this namespace. | |
| namespace | viennashe::testing |
Functions | |
| bool | viennashe::testing::fuzzy_equal (double is, double should, double tol=1e-1) |
| Performs a fuzzy (up to a tolerance) equal. Returns true if is and should are equal within the tolerance tol. More... | |
Contains common functions, functors and other classes often needed by the tests.
Definition in file common.hpp.