AFunctionalTest::AssertEqual_Double

Assert that two double are equal within tolerance between two doubles.

Unreal Engine C++ API Reference > Developer > FunctionalTesting > AFunctionalTest

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h
Include #include "FunctionalTest.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp
bool AssertEqual_Double
(
    double Actual,
    double Expected,
    const [FString](API\Runtime\Core\Containers\FString) & What,
    double Tolerance,
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * ContextObject
)

Remarks

Assert that two double are equal within tolerance between two doubles.

Parameters

Name Description
What A name to use in the message if the assert fails (What: expected {Actual} to be Equal To {Expected} within Tolerance for context '')

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library