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

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

#include "quantumtonemapping_tests.h"
#include "graphics/renderer/quantumtonemapping.h"
#include <cmath>
#include <sstream>

Go to the source code of this file.

Namespaces

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

Functions

bool qpe::tests::anonymous_namespace{quantumtonemapping_tests.cpp}::nearlyEqual (float a, float b, float epsilon=1.0e-5f)
 Performs nearly equal.
 
bool qpe::tests::runQuantumToneMappingTests (std::string &error)
 Runs quantum tone mapping tests.
 

Detailed Description

Implements regression and invariant tests for quantumtonemapping tests.

Source: tests/quantumtonemapping_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 quantumtonemapping_tests.cpp.