Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_number_unittest.cpp File Reference

(3dce9b5818576f04ce21cec4b3686eda012e5b65)

#include <limits>
#include "core/fxcrt/fx_number.h"
#include "testing/gtest/include/gtest/gtest.h"
+ Include dependency graph for fx_number_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (fxnumber, Default)
 
 TEST (fxnumber, FromSigned)
 
 TEST (fxnumber, FromFloat)
 
 TEST (fxnumber, FromStringUnsigned)
 
 TEST (fxnumber, FromStringSigned)
 
 TEST (fxnumber, FromStringFloat)
 

Function Documentation

◆ TEST() [1/6]

TEST ( fxnumber ,
Default  )

Definition at line 10 of file fx_number_unittest.cpp.

References FX_Number::GetFloat(), FX_Number::GetSigned(), FX_Number::IsInteger(), and FX_Number::IsSigned().

+ Here is the call graph for this function:

◆ TEST() [2/6]

TEST ( fxnumber ,
FromFloat  )

Definition at line 33 of file fx_number_unittest.cpp.

References FX_Number::FX_Number(), FX_Number::GetFloat(), FX_Number::GetSigned(), FX_Number::IsInteger(), and FX_Number::IsSigned().

+ Here is the call graph for this function:

◆ TEST() [3/6]

TEST ( fxnumber ,
FromSigned  )

Definition at line 18 of file fx_number_unittest.cpp.

References FX_Number::FX_Number(), FX_Number::GetFloat(), FX_Number::GetSigned(), FX_Number::IsInteger(), and FX_Number::IsSigned().

+ Here is the call graph for this function:

◆ TEST() [4/6]

TEST ( fxnumber ,
FromStringFloat  )

Definition at line 152 of file fx_number_unittest.cpp.

References FX_Number::GetFloat().

+ Here is the call graph for this function:

◆ TEST() [5/6]

TEST ( fxnumber ,
FromStringSigned  )

Definition at line 103 of file fx_number_unittest.cpp.

References FX_Number::GetSigned(), FX_Number::IsInteger(), and FX_Number::IsSigned().

+ Here is the call graph for this function:

◆ TEST() [6/6]

TEST ( fxnumber ,
FromStringUnsigned  )

Definition at line 60 of file fx_number_unittest.cpp.