Dali 3D User Interface Engine
Functions
utc-Dali-Vector2.cpp File Reference
#include <iostream>
#include <sstream>
#include <cmath>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
#include <dali-test-suite-utils.h>
Include dependency graph for utc-Dali-Vector2.cpp:

Go to the source code of this file.

Functions

void utc_dali_vector2_startup (void)
 
void utc_dali_vector2_cleanup (void)
 
int UtcDaliVector2Constructor01P (void)
 
int UtcDaliVector2Constructor02P (void)
 
int UtcDaliVector2Constructor03P (void)
 
int UtcDaliVector2Constructor04P (void)
 
int UtcDaliVector2Constructor05P (void)
 
int UtcDaliVector2CopyConstructor01P (void)
 
int UtcDaliVector2CopyConstructor02P (void)
 
int UtcDaliVector2CopyConstructor03P (void)
 
int UtcDaliVector2AssignP (void)
 
int UtcDaliVector2AssignP02 (void)
 
int UtcDaliVector2AssignP03 (void)
 
int UtcDaliVector2AddP (void)
 
int UtcDaliVector2AddAssignP (void)
 
int UtcDaliVector2SubtractP (void)
 
int UtcDaliVector2SubtractAssignP (void)
 
int UtcDaliVector2NegateP (void)
 
int UtcDaliVector2Multiply01P (void)
 
int UtcDaliVector2Multiply02P (void)
 
int UtcDaliVector2MultiplyAssign01P (void)
 
int UtcDaliVector2MultiplyAssign02P (void)
 
int UtcDaliVector2Divide01P (void)
 
int UtcDaliVector2Divide02P (void)
 
int UtcDaliVector2DivideAssign01P (void)
 
int UtcDaliVector2DivideAssign02P (void)
 
int UtcDaliVector2EqualsP (void)
 
int UtcDaliVector2NotEqualsP (void)
 
int UtcDaliVector2OperatorSubscriptP (void)
 
int UtcDaliVector2OperatorSubscriptN (void)
 
int UtcDaliVector2OperatorConstSubscriptP (void)
 
int UtcDaliVector2OperatorConstSubscriptN (void)
 
int UtcDaliVector2LengthP (void)
 
int UtcDaliVector2LengthSquaredP (void)
 
int UtcDaliVector2NormalizeP (void)
 
int UtcDaliVector2NormalizeN (void)
 
int UtcDaliVector2ClampVector2P (void)
 
int UtcDaliVector2AsFloatP (void)
 
int UtcDaliVector2ConstAsFloatP (void)
 
int UtcDaliVector2XWidthP (void)
 
int UtcDaliVector2YHeightP (void)
 
int UtcDaliVector2OStreamOperatorP (void)
 
int UtcDaliVector2MaxP (void)
 
int UtcDaliVector2MinP (void)
 
int UtcDaliVector2ClampP (void)
 

Function Documentation

void utc_dali_vector2_cleanup ( void  )

Definition at line 33 of file utc-Dali-Vector2.cpp.

References test_return_value, and TET_PASS.

void utc_dali_vector2_startup ( void  )

Definition at line 28 of file utc-Dali-Vector2.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliVector2AddAssignP ( void  )

Definition at line 164 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2AddP ( void  )

Definition at line 152 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2AsFloatP ( void  )

Definition at line 508 of file utc-Dali-Vector2.cpp.

References Dali::Vector2::AsFloat(), DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2AssignP ( void  )

Definition at line 119 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2AssignP02 ( void  )

Definition at line 130 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector4::x, and Dali::Vector4::y.

Here is the call graph for this function:

int UtcDaliVector2AssignP03 ( void  )

Definition at line 141 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector3::x, and Dali::Vector3::y.

Here is the call graph for this function:

int UtcDaliVector2ClampP ( void  )

Definition at line 596 of file utc-Dali-Vector2.cpp.

References Dali::Clamp(), DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliVector2ClampVector2P ( void  )

Definition at line 481 of file utc-Dali-Vector2.cpp.

References Dali::Vector2::Clamp(), DALI_TEST_EQUALS(), END_TEST, Dali::Toolkit::Text::min(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliVector2ConstAsFloatP ( void  )

Definition at line 526 of file utc-Dali-Vector2.cpp.

References Dali::Vector2::AsFloat(), DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2Constructor01P ( void  )

Definition at line 38 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2Constructor02P ( void  )

Definition at line 47 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2Constructor03P ( void  )

Definition at line 56 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2Constructor04P ( void  )

Definition at line 66 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector3::x, and Dali::Vector3::y.

Here is the call graph for this function:

int UtcDaliVector2Constructor05P ( void  )

Definition at line 76 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2CopyConstructor01P ( void  )

Definition at line 86 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2CopyConstructor02P ( void  )

Definition at line 97 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector3::x, and Dali::Vector3::y.

Here is the call graph for this function:

int UtcDaliVector2CopyConstructor03P ( void  )

Definition at line 108 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector3::x, and Dali::Vector3::y.

Here is the call graph for this function:

int UtcDaliVector2Divide01P ( void  )

Definition at line 260 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2Divide02P ( void  )

Definition at line 275 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2DivideAssign01P ( void  )

Definition at line 289 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2DivideAssign02P ( void  )

Definition at line 314 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2EqualsP ( void  )

Definition at line 335 of file utc-Dali-Vector2.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliVector2LengthP ( void  )

Definition at line 438 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Vector2::Length(), TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2LengthSquaredP ( void  )

Definition at line 449 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Vector2::LengthSquared(), TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2MaxP ( void  )

Definition at line 576 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Max(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2MinP ( void  )

Definition at line 586 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Min(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2Multiply01P ( void  )

Definition at line 212 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2Multiply02P ( void  )

Definition at line 225 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2MultiplyAssign01P ( void  )

Definition at line 237 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2MultiplyAssign02P ( void  )

Definition at line 249 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2NegateP ( void  )

Definition at line 201 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2NormalizeN ( void  )

Definition at line 472 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Vector2::LengthSquared(), Dali::Vector2::Normalize(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2NormalizeP ( void  )

Definition at line 460 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Vector2::LengthSquared(), Dali::Vector2::Normalize(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2NotEqualsP ( void  )

Definition at line 346 of file utc-Dali-Vector2.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliVector2OperatorConstSubscriptN ( void  )

Definition at line 416 of file utc-Dali-Vector2.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, TEST_LOCATION, TET_FAIL, and tet_result().

Here is the call graph for this function:

int UtcDaliVector2OperatorConstSubscriptP ( void  )

Definition at line 405 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2OperatorSubscriptN ( void  )

Definition at line 385 of file utc-Dali-Vector2.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_PRINT_ASSERT(), END_TEST, TEST_LOCATION, TET_FAIL, and tet_result().

Here is the call graph for this function:

int UtcDaliVector2OperatorSubscriptP ( void  )

Definition at line 366 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliVector2OStreamOperatorP ( void  )

Definition at line 560 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2SubtractAssignP ( void  )

Definition at line 189 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2SubtractP ( void  )

Definition at line 176 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector2XWidthP ( void  )

Definition at line 538 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, Dali::Vector2::width, and Dali::Vector2::x.

Here is the call graph for this function:

int UtcDaliVector2YHeightP ( void  )

Definition at line 549 of file utc-Dali-Vector2.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Vector2::height, TEST_LOCATION, and Dali::Vector2::y.

Here is the call graph for this function:

Dali Docs Home
Read more about Dali