AFunctionalTest::AssertValue_Int

Assert on a relationship between two integers.

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 AssertValue_Int
(
    int32 Actual,
    [EComparisonMethod](API\Developer\FunctionalTesting\EComparisonMethod) ShouldBe,
    int32 Expected,
    const [FString](API\Runtime\Core\Containers\FString) & What,
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * ContextObject
)

Remarks

Assert on a relationship between two integers.

Parameters

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library