FAutomationTestBase::TestSame

Logs an error if the two values are not the same object in memory.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h

Include

#include "Misc/AutomationTest.h"

Syntax

template<typename ValueType>
bool TestSame
(
    const TCHAR * Description,
    const ValueType & Actual,
    const ValueType & Expected
)

Remarks

Logs an error if the two values are not the same object in memory.

Parameters

Parameter

Description

Description

Description text for the test.

Actual

The actual value.

Expected

The expected value.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss