Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
energyobservables2d_tests.cpp File Reference

Implements regression and invariant tests for energyobservables2d tests. More...

#include "energyobservables2d_tests.h"
#include "core/math/complexfield2d.h"
#include "core/quantum/energyobservables2d.h"
#include "core/quantum/potentialfield2d.h"
#include <cmath>
#include <complex>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  qpe
 
namespace  qpe::tests
 
namespace  qpe::tests::anonymous_namespace{energyobservables2d_tests.cpp}
 

Functions

bool qpe::tests::anonymous_namespace{energyobservables2d_tests.cpp}::closeEnough (double a, double b, double tolerance) noexcept
 Closes enough.
 
bool qpe::tests::runEnergyObservables2DTests (std::string &error)
 Runs energy observables2 d tests.
 

Variables

constexpr double qpe::tests::anonymous_namespace{energyobservables2d_tests.cpp}::kPi = 3.141592653589793238462643383279502884
 

Detailed Description

Implements regression and invariant tests for energyobservables2d tests.

Source: tests/energyobservables2d_tests.cpp. This file is part of Quantum Phenomena Explorer (QPE), maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for third-party components.

Definition in file energyobservables2d_tests.cpp.