Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "xfa/fgas/crt/cfgas_decimal.h"
#include <math.h>
#include <limits>
#include "testing/gtest/include/gtest/gtest.h"
Go to the source code of this file.
Functions | |
TEST (CFGAS_Decimal, Empty) | |
TEST (CFGAS_Decimal, FromInt32) | |
TEST (CFGAS_Decimal, FromUint32) | |
TEST (CFGAS_Decimal, FromUint64) | |
TEST (CFGAS_Decimal, FromFloat) | |
TEST (CFGAS_Decimal, FromFloatFractional) | |
TEST (CFGAS_Decimal, FromString) | |
TEST (CFGAS_Decimal, FromString28Digits) | |
TEST | ( | CFGAS_Decimal | , |
Empty | ) |
Definition at line 13 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::ToDouble(), CFGAS_Decimal::ToFloat(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromFloat | ) |
Definition at line 41 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::CFGAS_Decimal(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromFloatFractional | ) |
Definition at line 60 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::CFGAS_Decimal(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromInt32 | ) |
Definition at line 20 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::CFGAS_Decimal(), fxcrt::WideString::c_str(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromString | ) |
Definition at line 69 of file cfgas_decimal_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromString28Digits | ) |
Definition at line 76 of file cfgas_decimal_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromUint32 | ) |
Definition at line 27 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::CFGAS_Decimal(), fxcrt::WideString::c_str(), and CFGAS_Decimal::ToWideString().
TEST | ( | CFGAS_Decimal | , |
FromUint64 | ) |
Definition at line 34 of file cfgas_decimal_unittest.cpp.
References CFGAS_Decimal::CFGAS_Decimal(), fxcrt::WideString::c_str(), and CFGAS_Decimal::ToWideString().