Dali 3D User Interface Engine
Functions
utc-Dali-Vector3.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-Vector3.cpp:

Go to the source code of this file.

Functions

void utc_dali_vector3_startup (void)
 
void utc_dali_vector3_cleanup (void)
 
int UtcDaliVector3Constructor01P (void)
 
int UtcDaliVector3Constructor02P (void)
 
int UtcDaliVector3Constructor03P (void)
 
int UtcDaliVector3Constructor04P (void)
 
int UtcDaliVector3Constructor05P (void)
 
int UtcDaliVector3Assign01P (void)
 
int UtcDaliVector3Assign02P (void)
 
int UtcDaliVector3Assign03P (void)
 
int UtcDaliVector3Add01P (void)
 
int UtcDaliVector3Add02P (void)
 
int UtcDaliVector3Subtract01P (void)
 
int UtcDaliVector3Subtract02P (void)
 
int UtcDaliVector3Multiply01P (void)
 
int UtcDaliVector3Multiply02P (void)
 
int UtcDaliVector3Multiply03P (void)
 
int UtcDaliVector3Multiply04P (void)
 
int UtcDaliVector3Multiply05P (void)
 
int UtcDaliVector3Divide01P (void)
 
int UtcDaliVector3Divide02P (void)
 
int UtcDaliVector3Divide03P (void)
 
int UtcDaliVector3Divide04P (void)
 
int UtcDaliVector3Divide05P (void)
 
int UtcDaliVector3NegateP (void)
 
int UtcDaliVector3EqualsP (void)
 
int UtcDaliVector3NotEqualsP (void)
 
int UtcDaliVector3OperatorSubscriptP (void)
 
int UtcDaliVector3ConstOperatorSubscriptP (void)
 
int UtcDaliVector3DotP (void)
 
int UtcDaliVector3CrossP (void)
 
int UtcDaliVector3LengthP (void)
 
int UtcDaliVector3LengthSquaredP (void)
 
int UtcDaliVector3NormalizeP (void)
 
int UtcDaliVector3ClampVector3P (void)
 
int UtcDaliVector3AsFloatP (void)
 
int UtcDaliVector3ConstAsFloatP (void)
 
int UtcDaliVector3ConstAsVectorXYP (void)
 
int UtcDaliVector3AsVectorXYP (void)
 
int UtcDaliVector3ConstAsVectorXZP (void)
 
int UtcDaliVector3AsVectorXZP (void)
 
int UtcDaliVector3OStreamOperatorP (void)
 
int UtcDaliVector3MinP (void)
 
int UtcDaliVector3MaxP (void)
 
int UtcDaliVector3ClampP (void)
 
int UtcDaliVector3ConstantsP (void)
 

Function Documentation

void utc_dali_vector3_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void utc_dali_vector3_startup ( void  )

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

References test_return_value, and TET_UNDEF.

int UtcDaliVector3Add01P ( void  )

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

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Add02P ( void  )

Definition at line 143 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3AsFloatP ( void  )

Definition at line 523 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Assign01P ( void  )

Definition at line 91 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Assign02P ( void  )

Definition at line 104 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Assign03P ( void  )

Definition at line 117 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3AsVectorXYP ( void  )

Definition at line 561 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3AsVectorXZP ( void  )

Definition at line 583 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ClampP ( void  )

Definition at line 629 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ClampVector3P ( void  )

Definition at line 497 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ConstantsP ( void  )
int UtcDaliVector3ConstAsFloatP ( void  )

Definition at line 537 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ConstAsVectorXYP ( void  )

Definition at line 551 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ConstAsVectorXZP ( void  )

Definition at line 572 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3ConstOperatorSubscriptP ( void  )

Definition at line 364 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Constructor01P ( void  )

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

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

Here is the call graph for this function:

int UtcDaliVector3Constructor02P ( void  )

Definition at line 48 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Constructor03P ( void  )

Definition at line 58 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Constructor04P ( void  )

Definition at line 69 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Constructor05P ( void  )

Definition at line 80 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3CrossP ( void  )
int UtcDaliVector3Divide01P ( void  )

Definition at line 235 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Divide02P ( void  )

Definition at line 250 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, r, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Divide03P ( void  )

Definition at line 261 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Divide04P ( void  )

Definition at line 271 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Divide05P ( void  )

Definition at line 282 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3DotP ( void  )
int UtcDaliVector3EqualsP ( void  )

Definition at line 305 of file utc-Dali-Vector3.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliVector3LengthP ( void  )

Definition at line 459 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3LengthSquaredP ( void  )

Definition at line 470 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3MaxP ( void  )

Definition at line 619 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3MinP ( void  )

Definition at line 609 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3Multiply01P ( void  )

Definition at line 181 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Multiply02P ( void  )

Definition at line 193 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Multiply03P ( void  )

Definition at line 203 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Multiply04P ( void  )

Definition at line 214 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Multiply05P ( void  )

Definition at line 224 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Math::PI_2, TEST_LOCATION, Dali::Vector3::XAXIS, Dali::Vector3::YAXIS, and Dali::Vector3::ZAXIS.

Here is the call graph for this function:

int UtcDaliVector3NegateP ( void  )

Definition at line 294 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3NormalizeP ( void  )

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

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

Here is the call graph for this function:

int UtcDaliVector3NotEqualsP ( void  )

Definition at line 315 of file utc-Dali-Vector3.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliVector3OperatorSubscriptP ( void  )

Definition at line 334 of file utc-Dali-Vector3.cpp.

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

Here is the call graph for this function:

int UtcDaliVector3OStreamOperatorP ( void  )

Definition at line 594 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Subtract01P ( void  )

Definition at line 156 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliVector3Subtract02P ( void  )

Definition at line 169 of file utc-Dali-Vector3.cpp.

References DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

Dali Docs Home
Read more about Dali