FAutomationTestBase::TestSame

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

Choose your operating system:

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