test_newpage()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 16
rs 9.4285
1
# This Python file uses the following encoding: utf-8
2
3
from unittest import TestCase
4
from panflute import *
5
6
import pandoc_latex_newpage
7
from helper import verify_conversion
8
9
def test_newpage():
10
    verify_conversion(
11
        '''
12
Example
13
14
-------------
15
16
Example
17
        ''',
18
        '''
19
Example
20
21
\\cleardoublepage
22
Example
23
        ''',
24
        'latex'
25
    )
26
27