|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Unit tests for BisectSolveLower in Solver/Scalar.hpp. More...
Go to the source code of this file.
Macros | |
| #define | DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN |
Functions | |
| TEST_CASE ("BisectSolveLower: x^2 = 4 => x = 2") | |
| CHECK (v==doctest::Approx(expected).epsilon(1e-10)) | |
| TEST_CASE ("BisectSolveLower: few iterations gives lower accuracy") | |
Variables | |
| double | v = Scalar::BisectSolveLower(F, 0.0, 1.5, 0.5, 100) |
| double | expected = std::asin(0.5) |
Unit tests for BisectSolveLower in Solver/Scalar.hpp.
Definition in file test_Scalar.cpp.
| #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN |
Definition at line 6 of file test_Scalar.cpp.
| TEST_CASE | ( | "BisectSolveLower: few iterations gives lower accuracy" | ) |
| TEST_CASE | ( | "BisectSolveLower: x^ | 2 = 4 = | ) |
| double expected = std::asin(0.5) |
Definition at line 26 of file test_Scalar.cpp.
| double v = Scalar::BisectSolveLower(F, 0.0, 1.5, 0.5, 100) |
Definition at line 25 of file test_Scalar.cpp.