AFunctionalTest::AssertEqual_Rotator

Assert that the component angles of two rotators are all equal within a small tolerance.

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
virtual bool AssertEqual_Rotator
(
    FRotator Actual,
    FRotator Expected,
    const [FString](API\Runtime\Core\Containers\FString) & What,
    float Tolerance,
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * ContextObject
)

Remarks

Assert that the component angles of two rotators are all equal within a small tolerance.

Parameters

Name Description
What A name to use in the message if the assert fails ("Expected 'What' to be {Expected} but it was {Actual} for context ''")

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library