| -Test process |
| |
| 1. Test program generates a png image |
| |
| -Pass condition |
| |
| 1. The test program verifies first line does not equal second line in certain pixels |
| |
| AND |
| |
| 2. The test program verifies second line does not equal third line in certain pixels |
| |
| AND |
| |
| 3. The test program verifies third line does not equal fourth line in certain pixels |
| |
| AND |
| |
| 4. The test program verifies the output image equals the input test image in every pixel |
| |
| -Test purpose |
| |
| 1. FormCalc language defines lines’ dash patterns. The output logic is implemented by Adobe FormCalc script(described in Adobe FormCalc User Reference). This test aims to test Pdfium core’s correct interpretation of FormCalc script. |