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
cpdf_psengine_unittest.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include "core/fpdfapi/page/cpdf_psengine.h"
#include <iterator>
#include <limits>
#include "testing/gtest/include/gtest/gtest.h"
+ Include dependency graph for cpdf_psengine_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CPDF_PSProc, AddOperator)
 
 TEST (CPDF_PSEngine, Basic)
 
 TEST (CPDF_PSEngine, DivByZero)
 
 TEST (CPDF_PSEngine, Ceiling)
 
 TEST (CPDF_PSEngine, Floor)
 
 TEST (CPDF_PSEngine, Round)
 
 TEST (CPDF_PSEngine, Truncate)
 
 TEST (CPDF_PSEngine, Comparisons)
 
 TEST (CPDF_PSEngine, Logic)
 
 TEST (CPDF_PSEngine, MathFunctions)
 

Function Documentation

◆ TEST() [1/10]

TEST ( CPDF_PSEngine ,
Basic  )

Definition at line 93 of file cpdf_psengine_unittest.cpp.

References PSOP_ABS, PSOP_ADD, PSOP_DIV, PSOP_IDIV, PSOP_MOD, PSOP_MUL, PSOP_NEG, and PSOP_SUB.

◆ TEST() [2/10]

TEST ( CPDF_PSEngine ,
Ceiling  )

Definition at line 117 of file cpdf_psengine_unittest.cpp.

References PSOP_CEILING.

◆ TEST() [3/10]

TEST ( CPDF_PSEngine ,
Comparisons  )

Definition at line 214 of file cpdf_psengine_unittest.cpp.

References PSOP_EQ, PSOP_GE, PSOP_GT, PSOP_LE, PSOP_LT, and PSOP_NE.

◆ TEST() [4/10]

TEST ( CPDF_PSEngine ,
DivByZero  )

Definition at line 106 of file cpdf_psengine_unittest.cpp.

References PSOP_DIV, PSOP_IDIV, and PSOP_MOD.

◆ TEST() [5/10]

TEST ( CPDF_PSEngine ,
Floor  )

Definition at line 139 of file cpdf_psengine_unittest.cpp.

References PSOP_FLOOR.

◆ TEST() [6/10]

TEST ( CPDF_PSEngine ,
Logic  )

Definition at line 248 of file cpdf_psengine_unittest.cpp.

References PSOP_AND, PSOP_FALSE, PSOP_NOT, PSOP_OR, PSOP_TRUE, and PSOP_XOR.

◆ TEST() [7/10]

TEST ( CPDF_PSEngine ,
MathFunctions  )

Definition at line 273 of file cpdf_psengine_unittest.cpp.

References PSOP_ATAN, PSOP_COS, PSOP_EXP, PSOP_LN, PSOP_LOG, PSOP_SIN, and PSOP_SQRT.

◆ TEST() [8/10]

TEST ( CPDF_PSEngine ,
Round  )

Definition at line 164 of file cpdf_psengine_unittest.cpp.

References PSOP_ROUND.

◆ TEST() [9/10]

TEST ( CPDF_PSEngine ,
Truncate  )

Definition at line 189 of file cpdf_psengine_unittest.cpp.

References PSOP_TRUNCATE.

◆ TEST() [10/10]